diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:33:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:33:58 (GMT) |
commit | 05750b46ee02ad06be61476b42f8a1a8d8a87597 (patch) | |
tree | 31fe161db5699e5d076d9a6dbf02882e9db7aad0 /generic/tkImgPhoto.c | |
parent | d0aa23eb9005cbc9b4e706ab70b5082be80bad35 (diff) | |
parent | 505d8dc8bc999b995961dbd32c518620d843bdfe (diff) | |
download | tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.zip tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.gz tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.bz2 |
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 80b44d7..ffbb47c 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -1150,7 +1150,7 @@ ImgPhotoCmd(clientData, interp, objc, objv) break; } for (x = 0; x < dataWidth; ++x) { - if (!XParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin), + if (!TkParseColor(Tk_Display(tkwin), Tk_Colormap(tkwin), listArgv[x], &color)) { Tcl_AppendResult(interp, "can't parse color \"", listArgv[x], "\"", (char *) NULL); |