summaryrefslogtreecommitdiff
path: root/src/xutf8/utf8Input.c
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2014-08-23 08:48:31 +0000
committerLauri Kasanen <cand@gmx.com>2014-08-23 08:48:31 +0000
commit6e72a212719ef9e53ac625694f1874c81882a10c (patch)
tree779617e274ff012eba2c6d54acfcf3067e3f0cc2 /src/xutf8/utf8Input.c
parentbbc8782b6a13c897035948b5ca7493cfb508a8f3 (diff)
Move the X11 UTF check above in utf8Input to avoid an unused function warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8/utf8Input.c')
-rw-r--r--src/xutf8/utf8Input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c
index f66f8bc77..5682ac7b6 100644
--- a/src/xutf8/utf8Input.c
+++ b/src/xutf8/utf8Input.c
@@ -43,6 +43,7 @@ typedef struct {
unsigned short used;
} Summary16;
+#ifndef X_HAVE_UTF8_STRING
#define NEED_TOWC /* indicates what part of these include files is needed here (avoid compilation warnings) */
#include "lcUniConv/big5.h"
#include "lcUniConv/gb2312.h"
@@ -407,7 +408,6 @@ XConvertEucToUtf8(const char* locale,
return len;
}
-#ifndef X_HAVE_UTF8_STRING
int
XUtf8LookupString(XIC ic,
XKeyPressedEvent* event,