Merge pull request #568 from npes87184/dev

Correct return value type in handle_event
This commit is contained in:
Romain Vimont 2019-05-31 15:27:35 +02:00 committed by GitHub
commit f710d76c9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ handle_event(SDL_Event *event, bool control) {
screen_show_window(&screen); screen_show_window(&screen);
} }
if (!screen_update_frame(&screen, &video_buffer)) { if (!screen_update_frame(&screen, &video_buffer)) {
return false; return EVENT_RESULT_CONTINUE;
} }
break; break;
case SDL_WINDOWEVENT: case SDL_WINDOWEVENT: