fix odd font file searching

This commit is contained in:
Glenn Maynard
2004-07-24 23:00:27 +00:00
parent 9f6c2a77a1
commit f21d3ca71b
+1 -1
View File
@@ -792,7 +792,7 @@ void Font::Load(const CString &sFontOrTextureFilePath, CString sChars)
split(imports, ",", ImportList, true);
for(unsigned i = 0; i < ImportList.size(); ++i)
{
CString path = THEME->GetPathToF( ImportList[i], true );
CString path = THEME->GetPathF( "", ImportList[i], true );
if( path == "" )
{
LOG->Warn("Font \"%s\" imports a font \"%s\" that doesn't exist", sFontOrTextureFilePath.c_str(), ImportList[i].c_str());