author | Sam Lantinga <slouken@libsdl.org> |
Tue, 09 Apr 2002 23:32:40 +0000 | |
changeset 333 | f2ba51f64d49 |
parent 332 | 3d6dd1b7b7ba |
child 334 | f65715bd8ad8 |
--- a/src/video/wincommon/SDL_sysevents.c Mon Apr 08 17:50:30 2002 +0000 +++ b/src/video/wincommon/SDL_sysevents.c Tue Apr 09 23:32:40 2002 +0000 @@ -190,6 +190,10 @@ BOOL minimized; Uint8 appstate; + if ( ! this->screen ) { + /* What do we do when we get the screen? */ + return(0); + } minimized = HIWORD(wParam); if ( !minimized && (LOWORD(wParam) != WA_INACTIVE) ) { /* Gain the following states */