src/video/windib/SDL_dibevents.c
branchSDL-1.2
changeset 4139 568c9b3c0167
parent 3981 b0d021cf41b6
child 4159 a1b03ba2fcd0
     1.1 --- a/src/video/windib/SDL_dibevents.c	Tue Feb 26 10:50:28 2008 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Fri Feb 29 13:55:44 2008 +0000
     1.3 @@ -227,7 +227,7 @@
     1.4  		case WM_SYSCOMMAND: {
     1.5  			const DWORD val = (DWORD) (wParam & 0xFFF0);
     1.6  			if ((val == SC_SCREENSAVE) || (val == SC_MONITORPOWER)) {
     1.7 -				if (!this->hidden->allow_screensaver) {
     1.8 +				if (!allow_screensaver) {
     1.9  					/* Note that this doesn't stop anything on Vista
    1.10  					   if the screensaver has a password. */
    1.11  					return(0);