This commit is contained in:
Glenn Maynard
2005-11-01 15:00:50 +00:00
parent c0094aecbf
commit cbce8648e7
-2
View File
@@ -653,7 +653,6 @@ void Font::Load( const CString &sIniPath, CString sChars )
ASSERT_M( !GetExtension(sIniPath).CompareNoCase("ini"), sIniPath ); ASSERT_M( !GetExtension(sIniPath).CompareNoCase("ini"), sIniPath );
/* Check for recursion (recursive imports). */ /* Check for recursion (recursive imports). */
{
for( unsigned i = 0; i < LoadStack.size(); ++i ) for( unsigned i = 0; i < LoadStack.size(); ++i )
{ {
if( LoadStack[i] == sIniPath ) if( LoadStack[i] == sIniPath )
@@ -664,7 +663,6 @@ void Font::Load( const CString &sIniPath, CString sChars )
} }
} }
LoadStack.push_back( sIniPath ); LoadStack.push_back( sIniPath );
}
/* The font is not already loaded. Figure out what we have. */ /* The font is not already loaded. Figure out what we have. */
CHECKPOINT_M( ssprintf("Font::Load(\"%s\",\"%s\").", sIniPath.c_str(), m_sChars.c_str()) ); CHECKPOINT_M( ssprintf("Font::Load(\"%s\",\"%s\").", sIniPath.c_str(), m_sChars.c_str()) );