diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-30 07:37:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-30 07:37:16 (GMT) |
commit | f8a08520cdc2af1b2db6af075baaa99582e6513d (patch) | |
tree | 7c96c781c528be0c2809c7d3b36a91fd575ea65e | |
parent | 5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb (diff) | |
parent | 296b6203712e0a79f4e8facc83cb5518adb8b292 (diff) | |
download | tk-f8a08520cdc2af1b2db6af075baaa99582e6513d.zip tk-f8a08520cdc2af1b2db6af075baaa99582e6513d.tar.gz tk-f8a08520cdc2af1b2db6af075baaa99582e6513d.tar.bz2 |
Fix UNIX build
-rw-r--r-- | generic/tkFont.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c index a7ca08a..7f2715b 100644 --- a/generic/tkFont.c +++ b/generic/tkFont.c @@ -13,7 +13,6 @@ #include "tkInt.h" #include "tkFont.h" -#include <windows.h> /* * The following structure is used to keep track of all the fonts that exist @@ -1717,10 +1716,10 @@ Tk_PostscriptFontName( } src += TkUtfToUniChar(src, &ch); if (upper) { - ch = (Tcl_UniChar) Tcl_UniCharToUpper(ch); + ch = Tcl_UniCharToUpper(ch); upper = 0; } else { - ch = (Tcl_UniChar) Tcl_UniCharToLower(ch); + ch = Tcl_UniCharToLower(ch); } dest += TkUniCharToUtf(ch, dest); } |