]> granicus.if.org Git - nethack/commitdiff
Tweak to compile.
authorjwalz <jwalz>
Sat, 5 Jul 2003 22:37:10 +0000 (22:37 +0000)
committerjwalz <jwalz>
Sat, 5 Jul 2003 22:37:10 +0000 (22:37 +0000)
src/options.c

index 9aea815c175bdbcb20104a4adce4f1365079f19e..c5bc1acbb183d280f6565291be814472b7663127 100644 (file)
@@ -2661,7 +2661,7 @@ boolean setinitial,setfromfile;
     }
     else if (!strcmp("number_pad", optname)) {
        int i;
-       const char *npchoices[3] =
+       static const char *npchoices[3] =
                {"0 (off)", "1 (on)", "2 (on, DOS compatible)"};
        char *npletters = "abc";
        menu_item *mode_pick = (menu_item *)0;