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
611d243b
Commit
611d243b
authored
May 22, 2012
by
Jesse Beder
Browse files
Fixed global setting indentation
parent
b2f9a61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/emitter.cpp
src/emitter.cpp
+2
-2
No files found.
src/emitter.cpp
View file @
611d243b
...
...
@@ -580,7 +580,7 @@ namespace YAML
case
EmitterNodeType
::
Scalar
:
case
EmitterNodeType
::
FlowSeq
:
case
EmitterNodeType
::
FlowMap
:
SpaceOrIndentTo
(
true
,
curIndent
);
SpaceOrIndentTo
(
true
,
curIndent
+
1
);
break
;
case
EmitterNodeType
::
BlockSeq
:
case
EmitterNodeType
::
BlockMap
:
...
...
@@ -611,7 +611,7 @@ namespace YAML
case
EmitterNodeType
::
FlowMap
:
case
EmitterNodeType
::
BlockSeq
:
case
EmitterNodeType
::
BlockMap
:
SpaceOrIndentTo
(
true
,
next
Indent
);
SpaceOrIndentTo
(
true
,
cur
Indent
+
1
);
break
;
}
}
...
...
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