From 215ef7ae9a743e419f033b575df29366b265ed26 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 23 Jul 2003 16:55:28 +0000 Subject: [PATCH] return sensible (fake) values for DBCS query methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 4 ++-- src/stc/PlatWX.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 98eba98548..3c636d8064 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -1200,11 +1200,11 @@ bool Platform::IsDBCSLeadByte(int codePage, char ch) { } int Platform::DBCSCharLength(int codePage, const char *s) { - return 0; + return 1; } int Platform::DBCSCharMaxLength() { - return 0; + return 1; } diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 98eba98548..3c636d8064 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -1200,11 +1200,11 @@ bool Platform::IsDBCSLeadByte(int codePage, char ch) { } int Platform::DBCSCharLength(int codePage, const char *s) { - return 0; + return 1; } int Platform::DBCSCharMaxLength() { - return 0; + return 1; } -- 2.45.2