From 7b6af79aad9d19812c69831542defbd52d4e85ca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 5 Jan 2003 01:32:08 +0000 Subject: [PATCH] fixes --- stepmania/src/BitmapText.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index d81cd148de..b39ecc6d04 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -160,7 +160,7 @@ void BitmapText::BuildChars() void BitmapText::DrawChars() { - for(unsigned start = 0; start < tex.size(); ++start) + for(unsigned start = 0; start < tex.size(); ) { unsigned end = start; while(end < tex.size() && tex[end] == tex[start]) @@ -168,7 +168,7 @@ void BitmapText::DrawChars() DISPLAY->SetTexture( tex[start] ); DISPLAY->DrawQuads( &verts[start*4], (end-start)*4 ); - start = end+1; + start = end; } }