diff options
author | nyamatongwe <unknown> | 2000-07-26 07:01:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-07-26 07:01:20 +0000 |
commit | 3938aeffea115076037a86378512cfc81402d50a (patch) | |
tree | dda0f01839eafe8fba9182f7f52753d4fa35838a /src/WindowAccessor.cxx | |
parent | 7865d208fb75e03067a94e09fb0765928130704f (diff) | |
download | scintilla-mirror-3938aeffea115076037a86378512cfc81402d50a.tar.gz |
Avoided warning on GTK+ because DBCS not supported.
Diffstat (limited to 'src/WindowAccessor.cxx')
-rw-r--r-- | src/WindowAccessor.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/WindowAccessor.cxx b/src/WindowAccessor.cxx index 96581ef59..5f3deac7d 100644 --- a/src/WindowAccessor.cxx +++ b/src/WindowAccessor.cxx @@ -18,21 +18,22 @@ WindowAccessor::~WindowAccessor() { } +#if PLAT_WIN bool WindowAccessor::InternalIsLeadByte(char ch) { -#if PLAT_GTK - // TODO: support DBCS under GTK+ - return false; -#elif PLAT_WIN if (SC_CP_UTF8 == codePage) // For lexing, all characters >= 0x80 are treated the // same so none is considered a lead byte. return false; else return IsDBCSLeadByteEx(codePage, ch); -#elif PLAT_WX +} +#else +// PLAT_GTK or PLAT_WX +// TODO: support DBCS under GTK+ and WX +bool WindowAccessor::InternalIsLeadByte(char) { return false; -#endif } +#endif void WindowAccessor::Fill(int position) { if (lenDoc == -1) |