X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fio.c;h=48f2e3876266a13dce90226a111656ba74f280c3;hp=b513f26af4efe625d0cddb238ba06491de6057b7;hb=c8f91a7e3437017d237a3bad0166054b97206d8d;hpb=8700dc6a521fe201815aad02cf05f7f4c297c305 diff --git a/src/io.c b/src/io.c index b513f26..48f2e38 100644 --- a/src/io.c +++ b/src/io.c @@ -303,7 +303,7 @@ void highvideo (void) } } -void commandhook(char *cmd, int before) { +void commandhook(char *cmd, bool before) { } /* @@ -430,7 +430,7 @@ void makechart(void) void setpassword(void) { if (!(game.options & OPTION_CURSES)) { - while (TRUE) { + for (;;) { scan(); strcpy(game.passwd, citem); chew();