summaryrefslogtreecommitdiffstats
path: root/generic/tkCursor.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-10 23:55:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-10 23:55:24 (GMT)
commitc910863e19f9c9cc3db56924634315a37ecfe2bb (patch)
tree50bfed10a7859a141c470f598ee83cd31ca8ebfd /generic/tkCursor.c
parentd0aa23eb9005cbc9b4e706ab70b5082be80bad35 (diff)
downloadtk-c910863e19f9c9cc3db56924634315a37ecfe2bb.zip
tk-c910863e19f9c9cc3db56924634315a37ecfe2bb.tar.gz
tk-c910863e19f9c9cc3db56924634315a37ecfe2bb.tar.bz2
proposed fix for bug-3486474
Diffstat (limited to 'generic/tkCursor.c')
-rw-r--r--generic/tkCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index 466d0ef..f599083 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.c
@@ -357,12 +357,12 @@ Tk_GetCursorFromData(interp, tkwin, source, mask, width, height,
* available and 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, "\"",
(char *) 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, "\"",
(char *) NULL);
goto error;