mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Set indentation to be at least 2
This commit is contained in:
@@ -306,7 +306,7 @@ namespace YAML
|
|||||||
|
|
||||||
bool EmitterState::SetIndent(unsigned value, FmtScope::value scope)
|
bool EmitterState::SetIndent(unsigned value, FmtScope::value scope)
|
||||||
{
|
{
|
||||||
if(value == 0)
|
if(value <= 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
_Set(m_indent, value, scope);
|
_Set(m_indent, value, scope);
|
||||||
|
Reference in New Issue
Block a user