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 | 9b53a258db477c1eabbdf24c8f368895e6c133c0 (patch) | |
tree | fac280591a5c87b42da55c93a09d0bccb1e795f5 | |
parent | c322dc313959c83df5033e469b13ef9656eff096 (diff) | |
download | pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar.gz pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar.bz2 pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar.lz pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar.xz pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.tar.zst pttbbs-9b53a258db477c1eabbdf24c8f368895e6c133c0.zip |
max search-forware 300 articles
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/read.c b/pttbbs/mbbsd/read.c index 57671882..8fbbf9a9 100644 --- a/pttbbs/mbbsd/read.c +++ b/pttbbs/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); |