summaryrefslogtreecommitdiffstats
path: root/win/tkWinColor.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-06 14:33:29 (GMT)
committernijtmans <nijtmans>2010-10-06 14:33:29 (GMT)
commitdf03a929f3a0282f0668f932f3a45729b667c9f7 (patch)
tree79bdff6580cc1cbf0e6d8a3dc5d5a58fbcb4c0e0 /win/tkWinColor.c
parent98aad13185edb779119cf4546b08580e0c9cb6ec (diff)
downloadtk-df03a929f3a0282f0668f932f3a45729b667c9f7.zip
tk-df03a929f3a0282f0668f932f3a45729b667c9f7.tar.gz
tk-df03a929f3a0282f0668f932f3a45729b667c9f7.tar.bz2
[FRQ 2965056]: Windows build with -DUNICODE
Diffstat (limited to 'win/tkWinColor.c')
-rw-r--r--win/tkWinColor.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/win/tkWinColor.c b/win/tkWinColor.c
index 2e88013..518f543 100644
--- a/win/tkWinColor.c
+++ b/win/tkWinColor.c
@@ -9,15 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinColor.c,v 1.16 2010/09/10 08:59:26 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinColor.c,v 1.17 2010/10/06 14:33:29 nijtmans Exp $
*/
-/* TODO: This file does not compile in UNICODE mode.
- * See [Freq 2965056]: Windows build with -DUNICODE
- */
-#undef UNICODE
-#undef _UNICODE
-
#include "tkWinInt.h"
#include "tkColor.h"
@@ -363,7 +357,7 @@ XAllocColor(
color->blue = closeEntry.peBlue * 257;
entry = closeEntry;
if (index >= cmap->size) {
- OutputDebugString("XAllocColor: Colormap is bigger than we thought");
+ OutputDebugStringA("XAllocColor: Colormap is bigger than we thought");
}
} else {
cmap->size++;