]> granicus.if.org Git - nethack/commitdiff
a couple of very minor follow-up bits
authornhmall <nhmall@nethack.org>
Sat, 30 Nov 2019 02:19:31 +0000 (21:19 -0500)
committernhmall <nhmall@nethack.org>
Sat, 30 Nov 2019 02:19:31 +0000 (21:19 -0500)
src/version.c

index a4e2c51579937546febe6896ba4949fc25cf28c2..a858679088c3062d6728b7a2b3174291c46e189d 100644 (file)
@@ -144,7 +144,7 @@ doextversion()
             done_rt = FALSE,
             done_dlb = FALSE,
             prolog;
-#if 0   /* moved to util/makedefs.c and rendered via dat/options */
+#if 0   /* moved to util/mdlib.c and rendered via do_runtime_info() */
     const char *lua_info[] = {
  "About Lua: Copyright (c) 1994-2017 Lua.org, PUC-Rio.",
  /*        1         2         3         4         5         6         7
@@ -228,10 +228,6 @@ doextversion()
             }
             (void) strncpy(buf, rtbuf, BUFSZ - 1);
             buf[BUFSZ - 1] = '\0';
-#if 0   /* handled via dat/options */
-        } else if ((rtbuf = lua_info[rtcontext++]) != 0) {
-            Strcpy(buf, rtbuf);
-#endif /*0*/
         } else {
             break;
         }