Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11events.c @ 4524:a256e1dadf3f
Zero any fields not explicitly filled in.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 14 Jul 2010 07:25:07 -0700 |
parents | 0c67c4328678 |
children | ce811c9247da |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c Wed Jul 14 01:02:18 2010 -0700 +++ b/src/video/x11/SDL_x11events.c Wed Jul 14 07:25:07 2010 -0700 @@ -381,6 +381,7 @@ req->requestor, req->target); #endif + SDL_zero(sevent); sevent.xany.type = SelectionNotify; sevent.xselection.selection = req->selection; sevent.xselection.target = None;