Fix for bug#71751 - Change default font sizes for MfcEmbed

r=ksosez@softhome.net,chak
This commit is contained in:
chak%netscape.com 2001-03-27 15:18:03 +00:00
parent 73680389dd
commit da2b61fa89

View File

@ -387,8 +387,8 @@ nsresult CMfcEmbedApp::InitializePrefs()
rv = prefs->GetBoolPref("mfcbrowser.prefs_inited", &inited);
if (NS_FAILED(rv) || !inited)
{
prefs->SetIntPref("font.size.variable.x-western", 12);
prefs->SetIntPref("font.size.fixed.x-western", 12);
prefs->SetIntPref("font.size.variable.x-western", 16);
prefs->SetIntPref("font.size.fixed.x-western", 13);
rv = prefs->SetBoolPref("mfcbrowser.prefs_inited", PR_TRUE);
if (NS_SUCCEEDED(rv))
rv = prefs->SavePrefFile();