This commit is contained in:
jshin%mailaps.org 2005-01-18 19:36:46 +00:00
Родитель 79deb67800
Коммит 3e973d6204
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -935,7 +935,11 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& aFont,
// set.
if (fpi.mGenericFont && !aFont.systemFont) {
NS_AddGenericFontFromPref(fpi.mGenericFont, langGroup, pattern,
#ifdef PR_LOGGING
gFontMetricsPSM);
#else
nsnull);
#endif
}
// Add the generic if there is one.

Просмотреть файл

@ -221,7 +221,7 @@ AddFFREandLog(FcPattern *aPattern, nsCString aFamily,
if (NS_FFRECountHyphens(aFamily) >= 3)
return;
if (PR_LOG_TEST(aLogModule, PR_LOG_DEBUG)) {
if (aLogModule && PR_LOG_TEST(aLogModule, PR_LOG_DEBUG)) {
printf("\tadding generic font from preferences: %s\n",
aFamily.get());
}