From b6272aec16732b184844bd2773f410f3c0a152dd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 28 Oct 2001 04:39:23 +0000 Subject: Fixed Platform changes for GTK+ and hid most of the implementation of Surface. --- src/UniConversion.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/UniConversion.cxx') 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(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 } -- cgit v1.2.3