diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-07-08 14:17:45 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-07-08 14:17:45 +0800 |
commit | 48294552f75d4f14a51aee54cdae2b73f762be92 (patch) | |
tree | 75cc17d9fe8ebdee5e47c612874d2a308f4f65c0 | |
parent | 8d043edd0a736df130623aeb0ff0c5c6c1dea622 (diff) | |
download | pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar.gz pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar.bz2 pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar.lz pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar.xz pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.tar.zst pttbbs-48294552f75d4f14a51aee54cdae2b73f762be92.zip |
* fix endless backward search in pmore pager
* thanks to dsync@ptt.cc [PttBug]
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4726 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/pmore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index cb748a71..bf714eee 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -976,6 +976,7 @@ mf_search(int direction) if(sr.cmpfunc((char*)mf.disps, (char*)s, l) == 0) { flFound = 1; + break; } else { /* DBCS check here. */ |