fix dumb parser (thought I fixed this long ago)

This commit is contained in:
Glenn Maynard
2008-03-14 22:00:40 +00:00
parent b7912fa8bd
commit c9f9ab8c9f
+2
View File
@@ -528,6 +528,8 @@ void Font::LoadFontPageSettings( FontPageSettings &cfg, IniFile &ini, const RStr
* This lets us assign characters very compactly and readably. */
RString sRowStr = sName.substr(5);
TrimLeft( sRowStr );
ASSERT( IsAnInt(sRowStr) );
const int iRow = atoi( sRowStr.c_str() );
const int iFirstFrame = iRow * iNumFramesWide;