From ee1aa5dc7065012d9c1565859aabc2aca88a1a4c Mon Sep 17 00:00:00 2001 From: rmottola Date: Tue, 13 Apr 2010 22:54:33 +0000 Subject: [PATCH] removed c99-ism git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30144 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Source/NSWindow.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f7eade686..72318998c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-14 Riccardo Mottola + + * Source/NSWindow.m : removed c99-isms + 2010-04-13 Doug Simons * Headers/Additions/GNUstepGUI/GSToolbarView.h: diff --git a/Source/NSWindow.m b/Source/NSWindow.m index 3adf48630..e79783a78 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -2666,8 +2666,8 @@ resetCursorRectsForView(NSView *theView) { if (_f.has_closed == NO) { - _f.has_closed = YES; CREATE_AUTORELEASE_POOL(pool); + _f.has_closed = YES; /* The NSWindowCloseNotification might result in us being deallocated. To make sure self stays valid as long as is