diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:57:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:57:48 (GMT) |
commit | 3db9fce4a20b8969cd5c73671c76dd4918d048f9 (patch) | |
tree | b69a457a0eaaa41f3bf3c89239cd80372fd4b53e /generic/tkCursor.c | |
parent | 751529e39515a7968bd597326de78c0f9f220f44 (diff) | |
parent | 05750b46ee02ad06be61476b42f8a1a8d8a87597 (diff) | |
download | tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.zip tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.gz tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.bz2 |
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'generic/tkCursor.c')
-rw-r--r-- | generic/tkCursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c index 606a349..410aea9 100644 --- a/generic/tkCursor.c +++ b/generic/tkCursor.c @@ -349,11 +349,11 @@ Tk_GetCursorFromData( * add it to the database. */ - if (XParseColor(dataKey.display, Tk_Colormap(tkwin), fg, &fgColor) == 0) { + if (TkParseColor(dataKey.display, Tk_Colormap(tkwin), fg, &fgColor) == 0) { Tcl_AppendResult(interp, "invalid color name \"", fg, "\"", NULL); goto error; } - if (XParseColor(dataKey.display, Tk_Colormap(tkwin), bg, &bgColor) == 0) { + if (TkParseColor(dataKey.display, Tk_Colormap(tkwin), bg, &bgColor) == 0) { Tcl_AppendResult(interp, "invalid color name \"", bg, "\"", NULL); goto error; } |