summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tkWinWm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 57d823b..c612e64 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.56 2003/12/09 13:43:35 vincentdarley Exp $
+ * RCS: @(#) $Id: tkWinWm.c,v 1.57 2003/12/16 03:23:03 davygrvy Exp $
*/
#include "tkWinInt.h"
@@ -5034,7 +5034,8 @@ UpdateGeometryInfo(clientData)
* state of the window changes.
*/
- if (IsIconic(wmPtr->wrapper) || IsZoomed(wmPtr->wrapper)) {
+ if (wmPtr->wrapper && IsIconic(wmPtr->wrapper) ||
+ IsZoomed(wmPtr->wrapper)) {
return;
}