X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fcomp.c;h=45363720d99ce82961e5a9d10c9c9504e70c60da;hb=e40215969ef46d66423bdf9f9d7b27da44fe676b;hp=5b9a9f14934bf0ece41c3eb991008cad6a253b9b;hpb=5b792c4424571f05bc2008e3109797d18d7d00d1;p=mmh diff --git a/uip/comp.c b/uip/comp.c index 5b9a9f1..4536372 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -143,7 +143,7 @@ main(int argc, char **argv) ** Take a message as the "form" for the new message. */ if (!msg) - msg = "cur"; + msg = seq_cur; if (!folder) folder = getcurfol(); maildir = toabsdir(folder); @@ -174,7 +174,8 @@ main(int argc, char **argv) in = open_form(&form, components); try_it_again: - strncpy(drft, m_draft(use ? (msg?msg:"cur") : "new"), sizeof(drft)); + strncpy(drft, m_draft(use ? (msg?msg:seq_cur) : seq_beyond), + sizeof(drft)); /* ** Check if we have an existing draft @@ -236,7 +237,7 @@ edit_it: if (nwhat) done(0); - what_now(ed, nedit, use, drft, NULL, 0, NULLMP, NULL, 0, cwd); + what_now(ed, nedit, use, drft, NULL, 0, NULLMP, NULL, cwd); done(1); return 1; }