src/video/windx5/SDL_dx5events.c
changeset 721 ab0656314eef
parent 717 42ed44b2c8b6
child 769 b8d311d90021
     1.1 --- a/src/video/windx5/SDL_dx5events.c	Sun Sep 21 18:32:04 2003 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5events.c	Sun Sep 21 18:40:51 2003 +0000
     1.3 @@ -537,13 +537,13 @@
     1.4  				wmmsg.lParam = lParam;
     1.5  				posted = SDL_PrivateSysWMEvent(&wmmsg);
     1.6  
     1.7 -         /* DJM: If the user isn't watching for private messages in her
     1.8 -            SDL event loop, then pass it along to any win32 specific
     1.9 -            window proc.
    1.10 -          */
    1.11 -         } else if (userWindowProc) {
    1.12 -            return userWindowProc(hwnd, msg, wParam, lParam);
    1.13 -         }
    1.14 +			/* DJM: If the user isn't watching for private
    1.15 +				messages in her SDL event loop, then pass it
    1.16 +				along to any win32 specific window proc.
    1.17 +			 */
    1.18 +			} else if (userWindowProc) {
    1.19 +				return CallWindowProc(userWindowProc, hwnd, msg, wParam, lParam);
    1.20 +			}
    1.21  		}
    1.22  		break;
    1.23  	}