diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 21:09:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 21:09:27 (GMT) |
commit | 41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (patch) | |
tree | c95bfcb0f17783a66f7d2613c8962ecbd1a63748 /generic/tkImgPhoto.c | |
parent | da13c5e294143c51bdee3d5d9f42c72b1843dc51 (diff) | |
parent | 3db9fce4a20b8969cd5c73671c76dd4918d048f9 (diff) | |
download | tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.zip tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.tar.gz tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.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 7d8bf0d..5b172f1 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -918,7 +918,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); |