fix uninitialized variable

This commit is contained in:
Chris Danford
2005-04-24 11:10:55 +00:00
parent 9187aa2399
commit 2a8f30fcd1
+1 -1
View File
@@ -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 );