damnit I wanted to be able to refresh font settings and now I can again.

This commit is contained in:
AJ Kelly
2011-02-17 14:42:40 -06:00
parent 2864b64dae
commit 69491c7ccb
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -237,7 +237,7 @@ Font::~Font()
void Font::Unload()
{
LOG->Trace("Font:Unload '%s'",path.c_str());
//LOG->Trace("Font:Unload '%s'",path.c_str());
for( unsigned i = 0; i < m_apPages.size(); ++i )
delete m_apPages[i];
m_apPages.clear();
@@ -655,7 +655,7 @@ void Font::Load( const RString &sIniPath, RString sChars )
{
ASSERT_M( !GetExtension(sIniPath).CompareNoCase("ini"), sIniPath );
LOG->Trace( "Font: Loading new font '%s'",sIniPath.c_str());
//LOG->Trace( "Font: Loading new font '%s'",sIniPath.c_str());
// Check for recursion (recursive imports).
for( unsigned i = 0; i < LoadStack.size(); ++i )