damnit I wanted to be able to refresh font settings and now I can again.
This commit is contained in:
+2
-2
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user