diff options
author | nyamatongwe <devnull@localhost> | 2001-10-28 04:39:23 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-10-28 04:39:23 +0000 |
commit | b6272aec16732b184844bd2773f410f3c0a152dd (patch) | |
tree | 219ef4a2b3d794cebeedb9a0d3baa7e79cb9a1bb /src/UniConversion.cxx | |
parent | 32056de116bf65368ccff2e887d29fbf81075bed (diff) | |
download | scintilla-mirror-b6272aec16732b184844bd2773f410f3c0a152dd.tar.gz |
Fixed Platform changes for GTK+ and hid most of the implementation of
Surface.
Diffstat (limited to 'src/UniConversion.cxx')
-rw-r--r-- | src/UniConversion.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/UniConversion.cxx b/src/UniConversion.cxx index c3f960c62..15cad6382 100644 --- a/src/UniConversion.cxx +++ b/src/UniConversion.cxx @@ -52,9 +52,6 @@ unsigned int UCS2Length(const char *s, unsigned int len) { } unsigned int UCS2FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen) { -#ifdef USE_API - return ::MultiByteToWideChar(CP_UTF8, 0, s, len, tbuf, tlen); -#else unsigned int ui=0; const unsigned char *us = reinterpret_cast<const unsigned char *>(s); unsigned int i=0; @@ -76,5 +73,4 @@ unsigned int UCS2FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsign ui++; } return ui; -#endif } |