projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make the dump be an almost valid .rc file.
[apps/madmutt.git]
/
editmsg.c
diff --git
a/editmsg.c
b/editmsg.c
index
529838c
..
f204456
100644
(file)
--- a/
editmsg.c
+++ b/
editmsg.c
@@
-9,22
+9,13
@@
/* simple, editor-based message editing */
/* simple, editor-based message editing */
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
+#include <lib-ui/curses.h>
#include "mutt.h"
#include "copy.h"
#include "mx.h"
#include "mutt.h"
#include "copy.h"
#include "mx.h"
-#include "lib/intl.h"
-#include "lib/str.h"
-
-#include <sys/stat.h>
-#include <errno.h>
-
-#include <time.h>
-
/*
* return value:
*
/*
* return value:
*
@@
-53,7
+44,7
@@
static int edit_one_message (CONTEXT * ctx, HEADER * cur)
struct stat sb;
time_t mtime = 0;
struct stat sb;
time_t mtime = 0;
- size_t size = 0;
+ s
s
ize_t size = 0;
mutt_mktemp (tmp);
mutt_mktemp (tmp);