summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 72f7c837..68014749 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -667,6 +667,11 @@ i_read_key(onekey_t * rcmdlist, keeploc_t * locmem,
break;
case RELATE_NEXT:
new_ln = thread(locmem, RELATE_NEXT);
+ /* XXX: 讀到最後一篇要跳出來 */
+ if( new_ln == locmem->crs_ln ){
+ default_ch = 0;
+ return FULLUPDATE;
+ }
break;
case RELATE_FIRST:
new_ln = thread(locmem, RELATE_FIRST);