From: Holger Schemel Date: Sat, 21 Apr 2018 22:19:27 +0000 (+0200) Subject: fixed bug causing access to negative array index X-Git-Tag: 4.1.1.0~182 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=55d92c70b761cebffe3c760ce0c76eea2b30c076 fixed bug causing access to negative array index --- diff --git a/src/screens.c b/src/screens.c index 87f1908c..0e4c09c9 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7002,6 +7002,8 @@ static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick) /* leave screen */ success = FALSE; done = TRUE; + + break; } /* undo this step */