summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-24 22:56:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-24 22:56:03 +0800
commitd011a6ef1b489578051fc4943d1d96a2a71fc330 (patch)
treea66790612b7d3edddd18cf2ae8ae4d135196de69
parent6c2748bc7397d765d1f7510cdbef92f0174df72e (diff)
downloadpttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar.gz
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar.bz2
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar.lz
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar.xz
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.tar.zst
pttbbs-d011a6ef1b489578051fc4943d1d96a2a71fc330.zip
* enable DBCS-safe for highlights
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/ccw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/ccw.c b/pttbbs/mbbsd/ccw.c
index cad58b98..e81fb62d 100644
--- a/pttbbs/mbbsd/ccw.c
+++ b/pttbbs/mbbsd/ccw.c
@@ -823,7 +823,7 @@ word_match_index(const char *buf, const char *pattern, size_t szpat)
if (!szpat) szpat = strlen(pattern);
- while ((p = strcasestr(p, pattern)) != NULL)
+ while ((p = DBCS_strcasestr(p, pattern)) != NULL)
{
if (p > buf && isascii(*(p-1)) && isalnum(*(p-1)))
{