From d65d3e6e3dfd67a3a2ee7c0a4541b3ce34257c75 Mon Sep 17 00:00:00 2001 From: slamm Date: Thu, 21 May 1998 01:39:25 +0000 Subject: [PATCH] Fix Mozilla bug #385. Global history file would not get recreated if it was deleted. Thanks to Ronan Waide for reporting the problem and developing a patch. git-svn-id: svn://10.0.0.236/trunk@2087 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/xfe/mozilla.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. **