projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spost: refactoring, added comments, removed unused code
[mmh]
/
uip
/
comp.c
diff --git
a/uip/comp.c
b/uip/comp.c
index
5b9a9f1
..
7eee3f7
100644
(file)
--- 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)
** Take a message as the "form" for the new message.
*/
if (!msg)
- msg = "cur";
+ msg = seq_cur;
if (!folder)
folder = getcurfol();
maildir = toabsdir(folder);
if (!folder)
folder = getcurfol();
maildir = toabsdir(folder);
@@
-174,7
+174,8
@@
main(int argc, char **argv)
in = open_form(&form, components);
try_it_again:
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
/*
** Check if we have an existing draft