sLine is a string, not a vector

This commit is contained in:
Glenn Maynard
2005-09-23 02:27:23 +00:00
parent 6ea2f37a36
commit 8b9f7c2889
+2 -2
View File
@@ -202,10 +202,10 @@ void BitmapText::BuildChars()
default: ASSERT( false ); return;
}
FOREACH( wchar_t, sLine, c )
for( unsigned i = 0; i < sLine.size(); ++i )
{
RageSpriteVertex v[4];
const glyph &g = m_pFont->GetGlyph(*c);
const glyph &g = m_pFont->GetGlyph( sLine[i] );
if( m_pFont->IsRightToLeft() )
iX -= g.m_iHadvance;