projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
sidebar.c
diff --git
a/sidebar.c
b/sidebar.c
index
f5206c9
..
ebc1a64
100644
(file)
--- a/
sidebar.c
+++ b/
sidebar.c
@@
-344,10
+344,7
@@
void scroll_sidebar(int op, int menu)
break;
case OP_SIDEBAR_NEXT_NEW:
if ( (tmp = exist_next_new()) == NULL)
break;
case OP_SIDEBAR_NEXT_NEW:
if ( (tmp = exist_next_new()) == NULL)
- {
- if (CurBuffy->next == NULL) return;
- CurBuffy = CurBuffy->next;
- }
+ return;
else CurBuffy = tmp;
break;
case OP_SIDEBAR_PREV:
else CurBuffy = tmp;
break;
case OP_SIDEBAR_PREV:
@@
-356,10
+353,7
@@
void scroll_sidebar(int op, int menu)
break;
case OP_SIDEBAR_PREV_NEW:
if ( (tmp = exist_prev_new()) == NULL)
break;
case OP_SIDEBAR_PREV_NEW:
if ( (tmp = exist_prev_new()) == NULL)
- {
- if(CurBuffy->prev == NULL) return;
- CurBuffy = CurBuffy->prev;
- }
+ return;
else CurBuffy = tmp;
break;
else CurBuffy = tmp;
break;