diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-02 23:08:52 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-02 23:08:52 +0800 |
commit | c437e6d23ce2e082d1faacaa36e1b4150dce3a21 (patch) | |
tree | 3b28456ab7f79b5b3c0ae2c845ebeb3a3784f517 /mbbsd | |
parent | ab5405ba204388d7ab87be6a906e169ecd8c4804 (diff) | |
download | pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar.gz pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar.bz2 pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar.lz pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar.xz pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.tar.zst pttbbs-c437e6d23ce2e082d1faacaa36e1b4150dce3a21.zip |
max search-forware 300 articles
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index 57671882..8fbbf9a9 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.5 2002/06/09 04:28:10 lwms Exp $ */ +/* $Id: read.c,v 1.6 2002/07/02 15:08:52 in2 Exp $ */ #include "bbs.h" #define MAXPATHLEN 256 @@ -372,7 +372,7 @@ static int thread(keeploc_t *locmem, int stype) { if(++now > last_line) return DONOTHING; } else { - if(--now <= 0) { + if(--now <= 0 || now < pos - 300) { if((stype & RS_FIRST) && (near)) { hit_thread = 1; return cursor_pos(locmem, near, 10); |