]> granicus.if.org Git - nethack/commitdiff
msdos build fix
authornhmall <nhmall@nethack.org>
Fri, 13 Mar 2020 14:48:17 +0000 (10:48 -0400)
committernhmall <nhmall@nethack.org>
Fri, 13 Mar 2020 14:48:17 +0000 (10:48 -0400)
../include/optlist.h:510:62: error: macro "NHOPTC" requires 10 arguments, but only 9 given
                 "color mappings for internal screen routines")
                                                              ^

../include/optlist.h:562:52: error: macro "NHOPTP" requires 10 arguments, but only 9 given
                 "prefix for old micro IBM_ options")
                                                    ^

include/optlist.h

index 5bfeddc6fda46956e05498686f42f9a02588eb17..fa247957d0905eafc0d3150c0dc2691ae9ddc081 100644 (file)
@@ -506,7 +506,7 @@ pfx_##a,
                 "method of video updating")
 #endif
 #ifdef VIDEOSHADES
-    NHOPTC(videocolors, 40, opt_in, set_gameview, No, Yes, No, "videocolours",
+    NHOPTC(videocolors, 40, opt_in, set_gameview, No, Yes, No, No, "videocolours",
                 "color mappings for internal screen routines")
     NHOPTC(videoshades, 32, opt_in, set_gameview, No, Yes, No, No, NoAlias,
                 "gray shades to map to black/gray/white")
@@ -558,7 +558,7 @@ pfx_##a,
                 "prefix for font options")
 #if defined(MICRO) && !defined(AMIGA)
     /* included for compatibility with old NetHack.cnf files */
-    NHOPTP(IBM_, 0, opt_in, set_hidden, No, No, Yes, NoAlias,
+    NHOPTP(IBM_, 0, opt_in, set_hidden, No, No, Yes, No, NoAlias,
                 "prefix for old micro IBM_ options")
 #endif /* MICRO */