Reverted 8a43e40 due to incorrect handling of newline (#CRLF#)

This commit is contained in:
Birunthan Mohanathas 2012-07-03 20:31:34 +03:00
parent 2cf883598c
commit e2bb2b9ce2

View File

@ -651,8 +651,7 @@ bool CMeterString::DrawString(Graphics& graphics, RectF* rect)
else else
{ {
stringFormat.SetTrimming(StringTrimmingNone); stringFormat.SetTrimming(StringTrimmingNone);
stringFormat.SetFormatFlags(StringFormatFlagsNoClip | StringFormatFlagsNoWrap | stringFormat.SetFormatFlags(StringFormatFlagsNoClip | StringFormatFlagsNoWrap);
StringFormatFlagsMeasureTrailingSpaces);
} }
CharacterRange range(0, stringLen); CharacterRange range(0, stringLen);