Fixed global setting indentation

This commit is contained in:
Jesse Beder
2012-05-22 16:47:08 -05:00
parent b2f9a61c46
commit 611d243b84

View File

@@ -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, nextIndent);
SpaceOrIndentTo(true, curIndent + 1);
break;
}
}