More type cleanup.
[super-star-trek.git] / src / io.c
index b513f26af4efe625d0cddb238ba06491de6057b7..48f2e3876266a13dce90226a111656ba74f280c3 100644 (file)
--- 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();