From 2e25ec457764a40bfcdfbff471765bdfe12ede66 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 19 Jul 2006 15:43:33 +0000 Subject: - Fix input error on some Big5 range - Summitted by Edward G.J. Lee Thanks. PR: ports/100545 Submitted by: maintainer --- chinese/zhcon/files/patch-src-winime.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 chinese/zhcon/files/patch-src-winime.cpp (limited to 'chinese/zhcon/files/patch-src-winime.cpp') diff --git a/chinese/zhcon/files/patch-src-winime.cpp b/chinese/zhcon/files/patch-src-winime.cpp new file mode 100644 index 000000000000..c017310bfebf --- /dev/null +++ b/chinese/zhcon/files/patch-src-winime.cpp @@ -0,0 +1,11 @@ +--- src/winime.cpp.orig Tue Apr 25 00:38:28 2006 ++++ src/winime.cpp Wed Jul 19 22:29:47 2006 +@@ -184,6 +184,8 @@ + p++; + while (IsGB2312_1(*p) && IsGB2312_2(*(p + 1))) + p += 2; ++ while (IsBIG5_1(*p) && IsBIG5_2(*(p + 1))) ++ p += 2; + return !IsHzCode1(*p); + } + -- cgit v1.2.3