fix incorrect newline behavior when wrapping is on

This commit is contained in:
Glenn Maynard
2005-05-21 08:28:35 +00:00
parent ab317867ff
commit e87ef650b1
+1 -1
View File
@@ -377,7 +377,7 @@ void BitmapText::SetText( const CString& _sText, const CString& _sAlternateText,
* and soft hyphens and pretty easily, too. -glenn */
// TODO: Move this wrapping logic into Font
CStringArray asLines;
split( m_sText, "\n", asLines );
split( m_sText, "\n", asLines, false );
for( unsigned line = 0; line < asLines.size(); ++line )
{