summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alpine/mailindx.c5
-rw-r--r--pith/pine.hlp6
2 files changed, 8 insertions, 3 deletions
diff --git a/alpine/mailindx.c b/alpine/mailindx.c
index 013a68aa..402f3570 100644
--- a/alpine/mailindx.c
+++ b/alpine/mailindx.c
@@ -322,6 +322,7 @@ index_lister(struct pine *state, CONTEXT_S *cntxt, char *folder, MAILSTREAM *str
cur_row, cur_col, km_popped, paint_status;
static int old_day = -1;
long i, j, k, old_max_msgno;
+ long lflagged, old_lflagged = 0L;
char *utf8str;
IndexType style, old_style = MsgIndex;
struct index_state id;
@@ -422,10 +423,12 @@ index_lister(struct pine *state, CONTEXT_S *cntxt, char *folder, MAILSTREAM *str
: (any_lflagged(msgmap, MN_HIDE))
? ZoomIndex
: (mn_total_cur(msgmap) > 1L) ? MultiMsgIndex : MsgIndex;
- if(style != old_style || style == ZoomIndex){
+ lflagged = any_lflagged(msgmap, MN_HIDE);
+ if(style != old_style || lflagged < old_lflagged){
state->mangled_header = 1;
state->mangled_footer = 1;
old_style = style;
+ old_lflagged = lflagged;
if(!(style == ThreadIndex || old_style == ThreadIndex))
id.msg_at_top = 0L;
}
diff --git a/pith/pine.hlp b/pith/pine.hlp
index b5507329..05f70290 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 113 2015-12-05 02:13:57
+Alpine Commit 114 2015-12-05 11:57:51
============= h_news =================
<HTML>
<HEAD>
@@ -355,7 +355,9 @@ Bugs that have been addressed include:
<LI> When the index is in zoomed state, adding new messages to the
selection would not show those messages if those messages are on
top of the current message in the top of the screen. Reported by
- Ulf-Dietrich Braumann.
+ Ulf-Dietrich Braumann. In addition, when the user scrolls through
+ the index, this scroll smoothly, without jumping pages. Reported
+ by Holger Trapp.
<LI> Crash when reviewing history of saving attachments.