Commit 2670ce8a authored by Jesse Beder's avatar Jesse Beder
Browse files

Fixed bool formatting

parent faa2e506
......@@ -615,7 +615,13 @@ namespace YAML
return *this;
PrepareNode(EmitterNodeType::Scalar);
m_stream << ComputeFullBoolName(b);
const char *name = ComputeFullBoolName(b);
if(m_pState->GetBoolLengthFormat() == ShortBool)
m_stream << name[0];
else
m_stream << name;
StartedScalar();
return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment