fix Reverse for RTL can be applied multiple times to the same string

This commit is contained in:
Chris Danford
2005-09-24 20:23:15 +00:00
parent a3bdc2e5ff
commit 682f9aa379
+1 -1
View File
@@ -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];