summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixColor.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 21:09:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 21:09:27 (GMT)
commit41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (patch)
treec95bfcb0f17783a66f7d2613c8962ecbd1a63748 /unix/tkUnixColor.c
parentda13c5e294143c51bdee3d5d9f42c72b1843dc51 (diff)
parent3db9fce4a20b8969cd5c73671c76dd4918d048f9 (diff)
downloadtk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.zip
tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.tar.gz
tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.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 afa9d24..df754bd 100644
--- a/unix/tkUnixColor.c
+++ b/unix/tkUnixColor.c
@@ -166,7 +166,7 @@ TkpGetColor(
FindClosestColor(tkwin, &screen, &color);
}
} else {
- if (XParseColor(display, colormap, buf, &color) == 0) {
+ if (TkParseColor(display, colormap, buf, &color) == 0) {
return NULL;
}
if (XAllocColor(display, colormap, &color) != 0) {