From 2dc2af64d677a5abd3adc26f3a0bec6d7c281a1a Mon Sep 17 00:00:00 2001 From: welch Date: Tue, 4 Aug 1998 15:29:52 +0000 Subject: Fixed old calls to XReadBitmapFile --- unix/tkUnixCursor.c | 4 ++-- 1 file 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) { -- cgit v0.12