projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
0530751
..
cc62149
100644
(file)
--- a/
compose.c
+++ b/
compose.c
@@
-16,12
+16,14
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "enter.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "mutt_menu.h"
#include "rfc1524.h"
#include "mime.h"
#include "attach.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "mutt_menu.h"
#include "rfc1524.h"
#include "mime.h"
#include "attach.h"
+#include "recvattach.h"
#include "mapping.h"
#include "sort.h"
#include "charset.h"
#include "mapping.h"
#include "sort.h"
#include "charset.h"
@@
-477,8
+479,7
@@
static const char *compose_format_str (char *buf, size_t buflen, char op,
break;
case 'v':
break;
case 'v':
- snprintf (fmt, sizeof (fmt), "Mutt-ng %%s");
- snprintf (buf, buflen, fmt, MUTT_VERSION);
+ strncpy (buf, mutt_make_version (0), buflen);
break;
case 0:
break;
case 0: