From aafcaaef7db5fc68ed2633dad5fba6692f1c1bb0 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 22 Jun 2018 08:35:05 +0000 Subject: Remove unnecessary inclusion of config_lib.h git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/utf8Utils.c | 8 ++------ src/xutf8/utf8Wrap.c | 7 ++----- 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c index ebbf11273..ad2bc83ff 100644 --- a/src/xutf8/utf8Utils.c +++ b/src/xutf8/utf8Utils.c @@ -14,14 +14,12 @@ * http://www.fltk.org/str.php */ -#include "../config_lib.h" - /* * Unicode to UTF-8 conversion functions. + * + * This file is compiled and linked only for X11 w/o Xft. */ -#if defined(FL_CFG_WIN_X11) - #include "../Xutf8.h" /*** NOTE : all functions are LIMITED to 24 bits Unicode values !!! ***/ @@ -224,8 +222,6 @@ XFastConvertUtf8ToUcs(const unsigned char *buf, return -1; } -#endif /* FL_CFG_WIN_X11 */ - /* * End of "$Id$". */ diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c index 255e9ae5e..612c822f3 100644 --- a/src/xutf8/utf8Wrap.c +++ b/src/xutf8/utf8Wrap.c @@ -14,12 +14,11 @@ * http://www.fltk.org/str.php */ -#include "../config_lib.h" - /* * X11 UTF-8 text drawing functions. + * + * This file is compiled and linked only for X11 w/o Xft. */ -#if defined(FL_CFG_WIN_X11) #include "../Xutf8.h" #include @@ -1024,8 +1023,6 @@ XFreeUtf8FontStruct(Display *dpy, free(font_set); } -#endif /* FL_CFG_WIN_X11 */ - /* * End of "$Id$". */ -- cgit v1.2.3