# HG changeset patch # User Benjamin Golinvaux # Date 1589887456 -7200 # Node ID d0a3de66bb42ec4c33fb51eb49c20869ac78821b # Parent c6bfcc10541443f54bbda4536690a809ee1b7b1c Small fix for refresh events. diff -r c6bfcc105414 -r d0a3de66bb42 Deprecated/Applications/Generic/GuiAdapter.cpp --- a/Deprecated/Applications/Generic/GuiAdapter.cpp Tue May 19 13:24:04 2020 +0200 +++ b/Deprecated/Applications/Generic/GuiAdapter.cpp Tue May 19 13:24:16 2020 +0200 @@ -984,7 +984,7 @@ while (SDL_PollEvent(&sdlEvent) != 0) { if ( (sdlEvent.type >= SDL_USEREVENT) && - (sdlEvent.type <= SDL_USEREVENT) ) + (sdlEvent.type < SDL_LASTEVENT) ) { // we don't want to have multiple events with the same event.type userEventsMap[sdlEvent.type] = sdlEvent;