summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-01-14 19:35:12 (GMT)
committerhobbs <hobbs@noemail.net>2000-01-14 19:35:12 (GMT)
commit8a5ed9c763eb4e008deb09b3a858151380cccecb (patch)
tree704d2a9eb0e47250e1d4c2d31212b73bf0890a03 /win
parent8e8e8a541668b02d8dfae432c74349118f990354 (diff)
downloadtk-8a5ed9c763eb4e008deb09b3a858151380cccecb.zip
tk-8a5ed9c763eb4e008deb09b3a858151380cccecb.tar.gz
tk-8a5ed9c763eb4e008deb09b3a858151380cccecb.tar.bz2
fixed masterPtr reference problem
FossilOrigin-Name: 295b02e79f3fd8c972c54e08f2adc262dbcea691
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 2678d3a..ac023f3 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinWm.c,v 1.14 2000/01/14 03:25:59 hobbs Exp $
+ * RCS: @(#) $Id: tkWinWm.c,v 1.15 2000/01/14 19:35:13 hobbs Exp $
*/
#include "tkWinInt.h"
@@ -2213,7 +2213,7 @@ Tk_WmCmd(clientData, interp, argc, argv)
* to them anymore
*/
wmPtr->masterPtr->wmInfoPtr->numTransients--;
- Tk_DeleteEventHandler((Tk_Window) masterPtr,
+ Tk_DeleteEventHandler((Tk_Window) wmPtr->masterPtr,
VisibilityChangeMask,
WmWaitVisibilityProc, (ClientData) winPtr);
}