Go to file
Kp 685137d5f5 Fix infinite loop in newmenu default handler
If no character matches the typed character, the loop should exit when
`lb->citem == cc`, which should happen after every entry is visited
once.  However, if no item is selected, `lb->citem == -1`, and `cc` is
never `-1`, so the exit path never triggers.  Rewrite the loop to be
bounded by number of steps, rather than bounded by returning to a
particular offset.  This also protects against undefined behavior if the
menu had zero elements.
2018-04-28 21:58:46 +00:00
common Merge pull request #376 "Update SDLMain.m" to github/master 2018-04-23 05:09:52 +00:00
contrib Add support for PNG screenshots 2018-02-18 00:42:42 +00:00
d1x-rebirth Make eclip_num unsigned 2018-03-31 21:53:01 +00:00
d2x-rebirth Add utility script for converting HAM to/from json 2018-04-15 21:48:32 +00:00
Documentation Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
similar Fix infinite loop in newmenu default handler 2018-04-28 21:58:46 +00:00
.gitattributes Add experimental Windows manifest 2017-08-02 02:49:12 +00:00
.gitignore
COPYING.txt
GPL-3.txt
INSTALL.markdown Restore GOG reference in INSTALL.markdown 2017-11-25 01:56:51 +00:00
ISSUE_TEMPLATE.md Adjust issue template formatting 2018-04-28 04:36:11 +00:00
SConstruct Simplify host_platform normalization 2018-03-27 03:49:34 +00:00