projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused code
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
96d0bb1
..
a604ca0
100644
(file)
--- a/
compose.c
+++ b/
compose.c
@@
-36,7
+36,7
@@
#endif
#ifdef USE_NNTP
#endif
#ifdef USE_NNTP
-#include
"nntp.h"
+#include
<nntp/nntp.h>
#endif
static const char *There_are_no_attachments = N_("There are no attachments.");
#endif
static const char *There_are_no_attachments = N_("There are no attachments.");
@@
-1069,14
+1069,6
@@
int mutt_compose_menu (HEADER * msg, /* structure for new message */
idx[menu->current]->content->unlink =
!idx[menu->current]->content->unlink;
idx[menu->current]->content->unlink =
!idx[menu->current]->content->unlink;
-#if 0
- /* OPTRESOLVE is otherwise ignored on this menu.
- * Where's the bug?
- */
-
- if (option (OPTRESOLVE) && menu->current + 1 < menu->max)
- menu->current++;
-# endif
menu->redraw = REDRAW_INDEX;
/* No send2hook since this doesn't change the message. */
break;
menu->redraw = REDRAW_INDEX;
/* No send2hook since this doesn't change the message. */
break;
@@
-1165,7
+1157,7
@@
int mutt_compose_menu (HEADER * msg, /* structure for new message */
p_delete(&idx[idxlen]);
continue;
}
p_delete(&idx[idxlen]);
continue;
}
-
fclose (
fp);
+
m_fclose(&
fp);
if ((idx[idxlen]->content = mutt_make_file_attach (fname)) == NULL) {
mutt_error
if ((idx[idxlen]->content = mutt_make_file_attach (fname)) == NULL) {
mutt_error