summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixColor.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:57:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:57:48 (GMT)
commit3db9fce4a20b8969cd5c73671c76dd4918d048f9 (patch)
treeb69a457a0eaaa41f3bf3c89239cd80372fd4b53e /unix/tkUnixColor.c
parent751529e39515a7968bd597326de78c0f9f220f44 (diff)
parent05750b46ee02ad06be61476b42f8a1a8d8a87597 (diff)
downloadtk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.zip
tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.gz
tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.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 e9fdf11..d3dba23 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) {