summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorredman <redman>1999-03-10 02:22:51 (GMT)
committerredman <redman>1999-03-10 02:22:51 (GMT)
commit25b76e9221e8248ee8375b99159f7a53b1037507 (patch)
treea3a909de2f874e2d303b96ec794f83de6ad90e5e /generic
parentc739ef13703c81ff6a02950f098ac031a3674ecf (diff)
downloadtk-25b76e9221e8248ee8375b99159f7a53b1037507.zip
tk-25b76e9221e8248ee8375b99159f7a53b1037507.tar.gz
tk-25b76e9221e8248ee8375b99159f7a53b1037507.tar.bz2
merge 8.0.6 code for stubs into 8.1 for UNIX dev_8_1_stubs_branch
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCursor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index c3e4a12..9a90166 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCursor.c,v 1.1.4.3 1998/12/13 08:16:04 lfb Exp $
+ * RCS: @(#) $Id: tkCursor.c,v 1.1.4.3.2.1 1999/03/10 02:22:51 redman Exp $
*/
#include "tkPort.h"
@@ -330,7 +330,8 @@ Tk_GetCursorFromData(interp, tkwin, source, mask, width, height,
register TkCursor *cursorPtr;
int new;
XColor fgColor, bgColor;
- TkDisplay *dispPtr;
+ TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr;
+
if (!dispPtr->cursorInit) {
CursorInit(dispPtr);