Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzWM.m @ 4122:cb7b118b400a SDL-1.2
Fixed return value for iconifying the window in a couple spots.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 20:28:21 +0000 |
parents | b8f2db95145e |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWM.m Sat Dec 29 20:08:51 2007 +0000 +++ b/src/video/quartz/SDL_QuartzWM.m Sat Dec 29 20:28:21 2007 +0000 @@ -355,6 +355,10 @@ if ( ! [ qz_window isMiniaturized ] ) { [ qz_window miniaturize:nil ]; + if ( ! [ qz_window isMiniaturized ] ) { + SDL_SetError ("window iconification failed"); + return 0; + } return 1; } else {