From c104460647804f7fb64c02cb4619d18d1abba23c Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 3 Jul 2017 21:58:31 +0200 Subject: [PATCH] fixed broken game controller event handling in joystick calibration --- src/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens.c b/src/screens.c index 031d37dd..d9abbb6f 100644 --- a/src/screens.c +++ b/src/screens.c @@ -6404,7 +6404,7 @@ static boolean CalibrateJoystickMain(int player_nr) while (result < 0) { - if (PendingEvent()) /* got event */ + while (PendingEvent()) /* got event */ { Event event; -- 2.34.1