Fix font configuration file search order (default should be fonts.cfg).

SVN revision: 41597
This commit is contained in:
Kim Woelders 2009-08-04 18:23:08 +00:00
parent 2ec0640a1c
commit 2b75b624de
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ FontConfigLoad(void)
}
/* Look in user config dir (not in theme dir) */
_FontConfigLoad1("fonts.cfg", 0);
if (!_FontConfigLoad1("fonts.cfg", 0))
return;
#if USE_PANGO
if (!_FontConfigLoad1("fonts.pango.cfg", 1))