X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fcomp.c;h=7eee3f7e9f8c19ac57b7588902e58b4b39a8dda1;hp=5b9a9f14934bf0ece41c3eb991008cad6a253b9b;hb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;hpb=a7771fd2e83d64228fb675749fc936151249dbd3 diff --git a/uip/comp.c b/uip/comp.c index 5b9a9f1..7eee3f7 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