Set indentation to be at least 2

This commit is contained in:
Jesse Beder
2012-05-22 18:01:48 -05:00
parent 8aabc0766b
commit 7d7075fdf9

View File

@@ -306,7 +306,7 @@ namespace YAML
bool EmitterState::SetIndent(unsigned value, FmtScope::value scope)
{
if(value == 0)
if(value <= 1)
return false;
_Set(m_indent, value, scope);