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
This commit is contained in:
parent
bbc8782b6a
commit
6e72a21271
@ -43,6 +43,7 @@ typedef struct {
|
|||||||
unsigned short used;
|
unsigned short used;
|
||||||
} Summary16;
|
} Summary16;
|
||||||
|
|
||||||
|
#ifndef X_HAVE_UTF8_STRING
|
||||||
#define NEED_TOWC /* indicates what part of these include files is needed here (avoid compilation warnings) */
|
#define NEED_TOWC /* indicates what part of these include files is needed here (avoid compilation warnings) */
|
||||||
#include "lcUniConv/big5.h"
|
#include "lcUniConv/big5.h"
|
||||||
#include "lcUniConv/gb2312.h"
|
#include "lcUniConv/gb2312.h"
|
||||||
@ -407,7 +408,6 @@ XConvertEucToUtf8(const char* locale,
|
|||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef X_HAVE_UTF8_STRING
|
|
||||||
int
|
int
|
||||||
XUtf8LookupString(XIC ic,
|
XUtf8LookupString(XIC ic,
|
||||||
XKeyPressedEvent* event,
|
XKeyPressedEvent* event,
|
||||||
|
Loading…
Reference in New Issue
Block a user