Make the union nameless to reduce the complexity of the API.

(Are there any compilers still in use that don't support this?)
This commit is contained in:
Sam Lantinga 2010-09-29 21:13:52 -07:00
parent 51b19abe02
commit 3189c43f85
6 changed files with 11 additions and 11 deletions

View file

@ -90,7 +90,7 @@ X11_DispatchEvent(_THIS)
SDL_VERSION(&wmmsg.version);
wmmsg.subsystem = SDL_SYSWM_X11;
wmmsg.msg.x11.event = xevent;
wmmsg.x11.event = xevent;
SDL_SendSysWMEvent(&wmmsg);
}