Rewrite to get ride of FORTRANish galaxy and newstuff arrays. It's
[super-star-trek.git] / io.c
diff --git a/io.c b/io.c
index 5de081916c4716c48a4fb5b0f74492bb3646693a..b3d2438d0b3ed289edd7a92c39790b696c5100da 100644 (file)
--- a/io.c
+++ b/io.c
@@ -408,7 +408,7 @@ void makechart(void)
 
 void setpassword(void) 
 {
-    if (!game.options & OPTION_CURSES) {
+    if (!(game.options & OPTION_CURSES)) {
        while (TRUE) {
            scan();
            strcpy(game.passwd, citem);