Update the queued event wmmsg pointer to point to the queued event data.
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Jun 2013 08:32:55 -0700
changeset 7305d918643aee17
parent 7304 9598cbf46957
child 7306 1516fe08e6ec
Update the queued event wmmsg pointer to point to the queued event data.
src/events/SDL_events.c
     1.1 --- a/src/events/SDL_events.c	Mon Jun 10 23:24:02 2013 -0700
     1.2 +++ b/src/events/SDL_events.c	Tue Jun 11 08:32:55 2013 -0700
     1.3 @@ -206,6 +206,7 @@
     1.4      entry->event = *event;
     1.5      if (event->type == SDL_SYSWMEVENT) {
     1.6          entry->msg = *event->syswm.msg;
     1.7 +        entry->event.syswm.msg = &entry->msg;
     1.8      }
     1.9  
    1.10      if (SDL_EventQ.tail) {