summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-30 07:37:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-30 07:37:16 (GMT)
commitf8a08520cdc2af1b2db6af075baaa99582e6513d (patch)
tree7c96c781c528be0c2809c7d3b36a91fd575ea65e
parent5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb (diff)
parent296b6203712e0a79f4e8facc83cb5518adb8b292 (diff)
downloadtk-f8a08520cdc2af1b2db6af075baaa99582e6513d.zip
tk-f8a08520cdc2af1b2db6af075baaa99582e6513d.tar.gz
tk-f8a08520cdc2af1b2db6af075baaa99582e6513d.tar.bz2
Fix UNIX build
-rw-r--r--generic/tkFont.c5
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);
}