From 39872ccef8c385100065f9d608f072f19400563b Mon Sep 17 00:00:00 2001
From: hobbs <hobbs>
Date: Fri, 14 Jan 2000 19:35:13 +0000
Subject: fixed masterPtr reference problem

---
 win/tkWinWm.c | 4 ++--
 1 file 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);
 	}
-- 
cgit v0.12