diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index 74d60fd9c7..a661f909ad 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -188,7 +188,7 @@ void BitmapText::BuildChars() { iY += m_pFont->GetHeight(); - wstring &sLine = m_wTextLines[i]; + wstring sLine = m_wTextLines[i]; if( m_pFont->IsRightToLeft() ) reverse( sLine.begin(), sLine.end() ); const int iLineWidth = m_iLineWidths[i];