summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-07-08 14:17:45 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-07-08 14:17:45 +0800
commit48294552f75d4f14a51aee54cdae2b73f762be92 (patch)
tree75cc17d9fe8ebdee5e47c612874d2a308f4f65c0 /mbbsd/pmore.c
parent8d043edd0a736df130623aeb0ff0c5c6c1dea622 (diff)
downloadpttbbs-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
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c1
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. */