Mercurial > repos > blastem
changeset 2307:a8080240cb92
Fix silly bug I introduced when trying to fix the problem from the SDL2 upgrade
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 23 Mar 2023 22:38:51 -0700 |
parents | 62f316b76e9a |
children | b7768c58f0da |
files | nuklear_ui/blastem_nuklear.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c Thu Mar 23 22:37:08 2023 -0700 +++ b/nuklear_ui/blastem_nuklear.c Thu Mar 23 22:38:51 2023 -0700 @@ -929,7 +929,7 @@ memcpy(button_key + pad_key_size, button_base, sizeof(button_base)); char *final_key; - for (int i = 0; i <= SDL_CONTROLLER_BUTTON_MAX; i++) + for (int i = 0; i < SDL_CONTROLLER_BUTTON_MAX; i++) { char *base; const char *suffix;