src/video/windib/SDL_dibevents.c
changeset 523 c210010f50f4
parent 515 230b156829ed
child 558 2312d983e1fe
     1.1 --- a/src/video/windib/SDL_dibevents.c	Tue Oct 08 15:48:21 2002 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Tue Oct 08 16:25:23 2002 +0000
     1.3 @@ -172,8 +172,8 @@
     1.4  {
     1.5  	MSG msg;
     1.6  
     1.7 -	while ( PeekMessage(&msg, NULL, 0, (WM_APP-1), PM_NOREMOVE) ) {
     1.8 -		if ( GetMessage(&msg, NULL, 0, (WM_APP-1)) > 0 ) {
     1.9 +	while ( PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) ) {
    1.10 +		if ( GetMessage(&msg, NULL, 0, 0) > 0 ) {
    1.11  			DispatchMessage(&msg);
    1.12  		}
    1.13  	}