summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.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 /generic/tkImgPhoto.c
parent751529e39515a7968bd597326de78c0f9f220f44 (diff)
parent05750b46ee02ad06be61476b42f8a1a8d8a87597 (diff)
downloadtk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.zip
tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.gz
tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.bz2
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 6075da8..ffff4fc 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -1160,7 +1160,7 @@ ImgPhotoCmd(
}
}
- if (!XParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin),
+ if (!TkParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin),
colorString, &color)) {
Tcl_AppendResult(interp, "can't parse color \"",
colorString, "\"", NULL);