Browse Source

Fixed missing indentation when calling TextGenerator.Write with a string ending with new line

pull/1/head
marcos henrich 12 years ago
parent
commit
3b871b86e7
  1. 2
      src/Generator/Utils/TextGenerator.cs

2
src/Generator/Utils/TextGenerator.cs

@ -31,7 +31,7 @@ namespace Cxxi @@ -31,7 +31,7 @@ namespace Cxxi
msg = string.Format(msg, args);
if (msg.Length > 0)
isStartOfLine = false;
isStartOfLine = msg.EndsWith(System.Environment.NewLine);
sb.Append(msg);
}

Loading…
Cancel
Save