Commit ae130d52 ae130d52fd03ccc49e1df6ef92ca0c841a071073 by Sergey Poznyakoff

MH: a bugfix.

* mh/mh_global.c (mh_read_profile): Set MU folder directory to
mh_get_dir.  This fixes the bug reported by Peter S Galbraith
(Id. <15312.1273667793@mixed>, ref.
http://sourceforge.net/mailarchive/forum.php?thread_name=15904.1273699954%40mixed&forum_name=mh-e-devel)
1 parent b2c19414
......@@ -73,6 +73,8 @@ mh_read_profile ()
profile = mh_context_create (p, 1);
mh_context_read (profile);
mu_set_folder_directory (mh_get_dir ());
mh_set_reply_regex (mh_global_profile_get ("Reply-Regex", NULL));
fallback = mh_global_profile_get ("Decode-Fallback", NULL);
if (fallback && mu_set_default_fallback (fallback))
......@@ -88,7 +90,6 @@ _mh_init_global_context ()
if (context)
return;
mu_set_folder_directory (mh_get_dir ());
p = getenv ("CONTEXT");
if (!p)
p = MH_CONTEXT_FILE;
......