small leftover
[apps/madmutt.git] / compose.c
index aed420b..d99a850 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -142,7 +142,7 @@ static void snd_entry (char *b, ssize_t blen, MUTTMENU * menu, int num) {
                      M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR);
 }
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 static void redraw_crypt_lines (HEADER * msg)
 {
@@ -853,12 +853,8 @@ int mutt_compose_menu (HEADER * msg,    /* structure for new message */
         else
 #endif
           mutt_expand_path (fname, sizeof (fname));
-#ifdef USE_IMAP
         if (mx_get_magic (fname) != M_IMAP)
-#endif
-#ifdef USE_POP
           if (mx_get_magic (fname) != M_POP)
-#endif
 #ifdef USE_NNTP
             if (mx_get_magic (fname) != M_NNTP && !option (OPTNEWS))
 #endif