fixsegfault.diff 467 B

12345678910111213
  1. diff -Naur jfsw.orig/src/menus.c jfsw/src/menus.c
  2. --- jfsw.orig/src/menus.c 2017-03-24 23:22:17.000000000 -0400
  3. +++ jfsw/src/menus.c 2018-07-10 22:51:52.032019948 -0400
  4. @@ -2540,7 +2540,7 @@
  5. CONTROL_ClearUserInput(&mnu_input);
  6. CONTROL_GetUserInput(&mnu_input);
  7. - if (KB_KeyPressed(sc_Y) || KB_KeyPressed(sc_Enter) || mnu_input.button0)
  8. + if (KB_KeyPressed(sc_Y) || KB_KeyPressed(sc_Enter))
  9. return (TRUE);
  10. else
  11. return (FALSE);