#include "recvattach.h"
#include "buffy.h"
#include "thread.h"
+#include "score.h"
#include <imap/imap_private.h>
int oldcount = -1;
int rc = -1;
MUTTMENU *menu;
- char *cp; /* temporary variable. */
+ const char *cp; /* temporary variable. */
int index_hint; /* used to restore cursor position */
int do_buffy_notify = 1;
- int closed = 0; /* did we OP_QUIT or OP_EXIT out of this menu? */
+ int closed = 0; /* did we OP_QUIT or OP_EXIT out of this menu? */
int attach_msg = option (OPTATTACHMSG);
menu = mutt_new_menu ();
sidebar_draw ();
mutt_message (_("New mail in this mailbox."));
- if (MCore.beep_new)
+ if (mod_core.beep_new)
beep ();
}
else if (check == M_FLAGS)
menu->redraw |= REDRAW_SIDEBAR;
}
if (do_buffy_notify) {
- if (buffy_notify () && MCore.beep_new)
+ if (buffy_notify () && mod_core.beep_new)
beep ();
}
else
break;
}
- if (query_quadoption2(MCore.quit, _("Quit Madmutt?")) == M_YES) {
+ if (query_quadoption2(mod_core.quit, _("Quit Madmutt?")) == M_YES) {
int check;
oldcount = Context ? Context->msgcount : 0;
}
if ((menu->menu == MENU_MAIN)
- && (query_quadoption2(MCore.quit,
+ && (query_quadoption2(mod_core.quit,
_("Exit Madmutt without saving?")) == M_YES))
{
if (Context) {