summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-14 19:35:13 (GMT)
committerhobbs <hobbs>2000-01-14 19:35:13 (GMT)
commit39872ccef8c385100065f9d608f072f19400563b (patch)
tree704d2a9eb0e47250e1d4c2d31212b73bf0890a03 /win/tkWinWm.c
parent28c2c061b5667f81ebdc330da216c5122920344e (diff)
downloadtk-39872ccef8c385100065f9d608f072f19400563b.zip
tk-39872ccef8c385100065f9d608f072f19400563b.tar.gz
tk-39872ccef8c385100065f9d608f072f19400563b.tar.bz2
fixed masterPtr reference problem
Diffstat (limited to 'win/tkWinWm.c')
-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);
}