From 48294552f75d4f14a51aee54cdae2b73f762be92 Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 8 Jul 2009 06:17:45 +0000 Subject: * 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 --- mbbsd/pmore.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- cgit v1.2.3