From 492a0f99d61130047ad32d669cd7dba5cfd7f54e Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 21 Jan 2006 21:23:25 +0000 Subject: [PATCH] Patch to the "m next message" function, submitted by matt --- citadel/ChangeLog | 3 +++ citadel/messages.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 84c697e19..8949c10e2 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,5 +1,8 @@ $Id$ +Sat Jan 21 16:22:51 EST 2006 ajc +* Patch to the "m next message" function, submitted by matt + Thu Jan 19 21:30:20 EST 2006 ajc * Added VIEW_WIKI to the available view types. EUID indexing is "on" for this view. Everything else will be done in WebCit. diff --git a/citadel/messages.c b/citadel/messages.c index 442089552..5dd4a02c8 100644 --- a/citadel/messages.c +++ b/citadel/messages.c @@ -1839,7 +1839,7 @@ RMSGREAD: scr_flush(); /* find the next message by me, stay here if we find nothing */ int finda; int lasta = a; - for (finda = a; ((finda < num_msgs) && (finda >= 0)); finda += rdir) + for (finda = (a + rdir); ((finda < num_msgs) && (finda >= 0)); finda += rdir) { /* This is repetitively dumb, but that's what computers are for. We have to load up messages until we find one by us */ -- 2.39.2