summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c
index da75ac6..c898ad1 100644
--- a/unix/tkUnixCursor.c
+++ b/unix/tkUnixCursor.c
@@ -250,7 +250,7 @@ TkGetCursorByName(interp, tkwin, string)
if ((argc != 2) && (argc != 4)) {
goto badString;
}
- if (XReadBitmapFile(display,
+ if (TkReadBitmapFile(display,
RootWindowOfScreen(Tk_Screen(tkwin)), &argv[0][1],
(unsigned int *) &width, (unsigned int *) &height,
&source, &xHot, &yHot) != BitmapSuccess) {
@@ -273,7 +273,7 @@ TkGetCursorByName(interp, tkwin, string)
cursor = XCreatePixmapCursor(display, source, source,
&fg, &fg, (unsigned) xHot, (unsigned) yHot);
} else {
- if (XReadBitmapFile(display,
+ if (TkReadBitmapFile(display,
RootWindowOfScreen(Tk_Screen(tkwin)), argv[1],
(unsigned int *) &maskWidth, (unsigned int *) &maskHeight,
&mask, &dummy1, &dummy2) != BitmapSuccess) {