projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix warnings.
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
45c5105
..
799d08b
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-14,7
+14,7
@@
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
-#include
<pop/pop.h>
+#include
"pop.h"
#include "curses.h"
#include "menu.h"
#include "curses.h"
#include "menu.h"
@@
-393,10
+393,10
@@
int mutt_index_menu (void)
int oldcount = -1;
int rc = -1;
MUTTMENU *menu;
int oldcount = -1;
int rc = -1;
MUTTMENU *menu;
- c
har *cp;
/* temporary variable. */
+ c
onst char *cp;
/* temporary variable. */
int index_hint; /* used to restore cursor position */
int do_buffy_notify = 1;
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 ();
int attach_msg = option (OPTATTACHMSG);
menu = mutt_new_menu ();
@@
-1742,8
+1742,7
@@
int mutt_index_menu (void)
CHECK_VISIBLE;
CHECK_READONLY;
CHECK_VISIBLE;
CHECK_READONLY;
- if (mutt_change_flag (tag ? NULL : CURHDR, (op == OP_MAIN_SET_FLAG)) ==
- 0) {
+ if (mutt_change_flag (tag ? NULL : CURHDR, (op == OP_MAIN_SET_FLAG)) == 0) {
menu->redraw = REDRAW_STATUS;
if (tag)
menu->redraw |= REDRAW_INDEX;
menu->redraw = REDRAW_STATUS;
if (tag)
menu->redraw |= REDRAW_INDEX;
@@
-2281,10
+2280,6
@@
int mutt_index_menu (void)
mutt_what_key ();
break;
mutt_what_key ();
break;
- case OP_REBUILD_CACHE:
- mx_rebuild_cache ();
- break;
-
case OP_SIDEBAR_SCROLL_UP:
case OP_SIDEBAR_SCROLL_DOWN:
case OP_SIDEBAR_NEXT:
case OP_SIDEBAR_SCROLL_UP:
case OP_SIDEBAR_SCROLL_DOWN:
case OP_SIDEBAR_NEXT: