diff options
author | June McEnroe <june@causal.agency> | 2021-01-29 21:22:42 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-29 21:22:42 -0500 |
commit | a3f394072c3997940c9d67d1a2957564cee6f403 (patch) | |
tree | 41f3583199852ca272b6f85a662b99471c2d66a0 | |
parent | Set process title to chosen game (diff) | |
download | play-a3f394072c3997940c9d67d1a2957564cee6f403.tar.gz play-a3f394072c3997940c9d67d1a2957564cee6f403.zip |
Handle getch ERR in menu
-rw-r--r-- | play.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/play.c b/play.c index 84fac37..ef6cb15 100644 --- a/play.c +++ b/play.c @@ -216,6 +216,7 @@ static const struct Game *menu(void) { break; case 'q': { return NULL; } + break; case ERR: exit(EXIT_FAILURE); } } } |