summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 7d3108a81..1cc192971 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -294,12 +294,15 @@ main (int argc, char **argv)
{
int rc;
- draftfolder = mh_global_profile_get ("Draft-Folder", NULL);
- whatnowproc = mh_global_profile_get ("whatnowproc", NULL);
-
mh_getopt (&argc, &argv, options, MH_GETOPT_DEFAULT_FOLDER,
args_doc, prog_doc, NULL);
+ if (!draftfolder)
+ draftfolder = mh_global_profile_get ("Draft-Folder", NULL);
+ if (!whatnowproc)
+ whatnowproc = mh_global_profile_get ("whatnowproc", NULL);
+
+
if (!format_str)
format_str = default_format_str;

Return to:

Send suggestions and report system problems to the System administrator.