summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixColor.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:33:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:33:58 (GMT)
commit05750b46ee02ad06be61476b42f8a1a8d8a87597 (patch)
tree31fe161db5699e5d076d9a6dbf02882e9db7aad0 /unix/tkUnixColor.c
parentd0aa23eb9005cbc9b4e706ab70b5082be80bad35 (diff)
parent505d8dc8bc999b995961dbd32c518620d843bdfe (diff)
downloadtk-05750b46ee02ad06be61476b42f8a1a8d8a87597.zip
tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.gz
tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.bz2
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'unix/tkUnixColor.c')
-rw-r--r--unix/tkUnixColor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixColor.c b/unix/tkUnixColor.c
index d001be5..aebbbca 100644
--- a/unix/tkUnixColor.c
+++ b/unix/tkUnixColor.c
@@ -168,7 +168,7 @@ TkpGetColor(tkwin, name)
FindClosestColor(tkwin, &screen, &color);
}
} else {
- if (XParseColor(display, colormap, buf, &color) == 0) {
+ if (TkParseColor(display, colormap, buf, &color) == 0) {
return (TkColor *) NULL;
}
if (XAllocColor(display, colormap, &color) != 0) {