projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
a511eb4
..
960f124
100644
(file)
--- a/
compose.c
+++ b/
compose.c
@@
-23,10
+23,10
@@
#include "mime.h"
#include "attach.h"
#include "mapping.h"
#include "mime.h"
#include "attach.h"
#include "mapping.h"
-#include "mailbox.h"
#include "sort.h"
#include "charset.h"
#include "mx.h"
#include "sort.h"
#include "charset.h"
#include "mx.h"
+#include "buffy.h"
#include "compose.h"
#ifdef MIXMASTER
#include "compose.h"
#ifdef MIXMASTER
@@
-563,7
+563,7
@@
int mutt_compose_menu (HEADER * msg, /* structure for new message */
ComposeHelp);
if (option (OPTMBOXPANE))
ComposeHelp);
if (option (OPTMBOXPANE))
-
mutt_
buffy_check (1);
+ buffy_check (1);
while (loop) {
#ifdef USE_NNTP
unset_option (OPTNEWS); /* for any case */
while (loop) {
#ifdef USE_NNTP
unset_option (OPTNEWS); /* for any case */
@@
-863,13
+863,13
@@
int mutt_compose_menu (HEADER * msg, /* structure for new message */
#endif
mutt_expand_path (fname, sizeof (fname));
#ifdef USE_IMAP
#endif
mutt_expand_path (fname, sizeof (fname));
#ifdef USE_IMAP
- if (
!mx_is_imap (fname)
)
+ if (
mx_get_magic (fname) != M_IMAP
)
#endif
#ifdef USE_POP
#endif
#ifdef USE_POP
- if (
!mx_is_pop (fname)
)
+ if (
mx_get_magic (fname) != M_POP
)
#endif
#ifdef USE_NNTP
#endif
#ifdef USE_NNTP
- if (
!mx_is_nntp (fname)
&& !option (OPTNEWS))
+ if (
mx_get_magic (fname) != M_NNTP
&& !option (OPTNEWS))
#endif
/* check to make sure the file exists and is readable */
if (access (fname, R_OK) == -1) {
#endif
/* check to make sure the file exists and is readable */
if (access (fname, R_OK) == -1) {