changeset 359:f0e5198a1522

Fixed crash in QZ_SetCaption() (thanks Darrell)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 Apr 2002 14:25:23 +0000
parents 1f148809d972
children 8c1f8c4d2dd1
files src/video/quartz/SDL_QuartzVideo.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Tue Apr 16 16:45:23 2002 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Wed Apr 17 14:25:23 2002 +0000
@@ -373,6 +373,7 @@
         [ qz_window setDelegate:nil ];
         [ qz_window close ];
         [ qz_window release ];
+	qz_window = nil;
 
         /* Release the OpenGL context */
         if ( mode_flags & SDL_OPENGL )