diff --git a/mozilla/cmd/xfe/mozilla.c b/mozilla/cmd/xfe/mozilla.c index 57a25a90db6..54560f66a82 100644 --- a/mozilla/cmd/xfe/mozilla.c +++ b/mozilla/cmd/xfe/mozilla.c @@ -2799,8 +2799,6 @@ main PREF_SetDefaultCharPref("profile.directory", fe_config_dir); PREF_SetDefaultIntPref("profile.numprofiles", 1); - GH_InitGlobalHistory(); - /* SECNAV_INIT needs this defined, but build_user_agent_string cannot * be called until after SECNAV_INIT, so call this simplified version. */ @@ -2808,6 +2806,11 @@ main fe_InstallPreferences (0); + /* This needs to be after fe_InstallPreferences() to + * get the right filename. + */ + GH_InitGlobalHistory(); + /* ** Initialize the security library. **