From 2a8f30fcd1274bd69a84252ed6abc8a8e1650fde Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 24 Apr 2005 11:10:55 +0000 Subject: [PATCH] fix uninitialized variable --- stepmania/src/BitmapText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index 3d329d8c0d..e425039b9a 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -452,7 +452,7 @@ void BitmapText::AddLine( CString &sAddition, int & iWidthPixels ) else { CString sCurrentLine; - int iCurrentLineWidth; + int iCurrentLineWidth = 0; for ( unsigned i = 0; i < sAddition.length(); i++ ) { CString sCurrentChar = sAddition.substr( i, 1 );