diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-05-13 16:14:51 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-05-13 16:21:53 +0300 |
commit | ae130d52fd03ccc49e1df6ef92ca0c841a071073 (patch) | |
tree | fd5c8b7e455d0e838a4b3c8e3815fe6843661752 | |
parent | b2c1941415490c40ac146c7426d688a153f930d1 (diff) | |
download | mailutils-ae130d52fd03ccc49e1df6ef92ca0c841a071073.tar.gz mailutils-ae130d52fd03ccc49e1df6ef92ca0c841a071073.tar.bz2 |
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)
-rw-r--r-- | mh/mh_global.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mh/mh_global.c b/mh/mh_global.c index 4cf567d7d..7b5c05478 100644 --- a/mh/mh_global.c +++ b/mh/mh_global.c @@ -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; |