From: nhmall Date: Fri, 13 Mar 2020 14:48:17 +0000 (-0400) Subject: msdos build fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c3670b1f0093b319526ee9a3c86f7e00895586c;p=nethack msdos build fix ../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") ^ --- diff --git a/include/optlist.h b/include/optlist.h index 5bfeddc6f..fa247957d 100644 --- a/include/optlist.h +++ b/include/optlist.h @@ -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 */