Skip to content

Commit

Permalink
- If newline is false and spacing is true "," will be spaced instead …
Browse files Browse the repository at this point in the history
…of newlined.
  • Loading branch information
Zguy committed Mar 14, 2011
1 parent 55642e0 commit 39204fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jzon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ namespace Jzon
}
}

newline = (format.newline ? "\n" : "");
spacing = (format.spacing ? " " : "");
newline = (format.newline ? "\n" : spacing);
}

std::string GetIndentation(unsigned int level) const
Expand Down

0 comments on commit 39204fe

Please sign in to comment.