Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32events.c @ 4902:50d0bff24d81
Make the union nameless to reduce the complexity of the API.
(Are there any compilers still in use that don't support this?)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 29 Sep 2010 21:13:52 -0700 |
parents | 69d9db65f248 |
children | 716b2cbf4c9e |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c Mon Sep 27 01:30:42 2010 -0700 +++ b/src/video/win32/SDL_win32events.c Wed Sep 29 21:13:52 2010 -0700 @@ -114,10 +114,10 @@ SDL_VERSION(&wmmsg.version); wmmsg.subsystem = SDL_SYSWM_WINDOWS; - wmmsg.msg.win.hwnd = hwnd; - wmmsg.msg.win.msg = msg; - wmmsg.msg.win.wParam = wParam; - wmmsg.msg.win.lParam = lParam; + wmmsg.win.hwnd = hwnd; + wmmsg.win.msg = msg; + wmmsg.win.wParam = wParam; + wmmsg.win.lParam = lParam; SDL_SendSysWMEvent(&wmmsg); }