From 6042c88de94ae9b358c7380b08b7b47d6eed797d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 28 Jan 2003 00:47:37 +0000 Subject: [PATCH] simplify --- stepmania/src/BitmapText.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index cab53330f9..e0ab0d795c 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -232,8 +232,7 @@ void BitmapText::SetText( CString sText ) m_szTextLines.clear(); m_iLineWidths.clear(); - wstring s; s+=L'\n'; - split(CStringToWstring(sText), s, m_szTextLines, false); + split(CStringToWstring(sText), L"\n", m_szTextLines, false); BuildChars(); }