summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-28 19:39:56 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-28 19:39:56 +0800
commit44b5791441596b3b6108c7f2771a9ae1ebfb985b (patch)
tree04733f1ba7f226f120651904fa8779dd20649fa3 /mbbsd
parente3c34d3dc5baeea48d490369dc381ae34e0da4b0 (diff)
downloadpttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar.gz
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar.bz2
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar.lz
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar.xz
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.tar.zst
pttbbs-44b5791441596b3b6108c7f2771a9ae1ebfb985b.zip
dirty hack: exit if ] at last article
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-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);