diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-06-22 08:35:05 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-06-22 08:35:05 +0000 |
| commit | aafcaaef7db5fc68ed2633dad5fba6692f1c1bb0 (patch) | |
| tree | fdfcd658e6477e060aa724b383fbbe4bcc20426e /src | |
| parent | 448e4a00c21a64f2987b0af2a9c2068dd7a4ca7a (diff) | |
Remove unnecessary inclusion of config_lib.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/xutf8/utf8Utils.c | 8 | ||||
| -rw-r--r-- | src/xutf8/utf8Wrap.c | 7 |
2 files changed, 4 insertions, 11 deletions
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 <X11/Xlib.h> @@ -1024,8 +1023,6 @@ XFreeUtf8FontStruct(Display *dpy, free(font_set); } -#endif /* FL_CFG_WIN_X11 */ - /* * End of "$Id$". */ |
