Fix Mozilla bug #385. Global history file would not get recreated if it was deleted. Thanks to Ronan Waide <waider@cognotec.com> for reporting the problem and developing a patch.
git-svn-id: svn://10.0.0.236/trunk@2087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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.
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user