Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
2670ce8a
Commit
2670ce8a
authored
May 22, 2012
by
Jesse Beder
Browse files
Fixed bool formatting
parent
faa2e506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/emitter.cpp
src/emitter.cpp
+7
-1
No files found.
src/emitter.cpp
View file @
2670ce8a
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment