/* JNetHack Copyright */
/* (c) Issei Numata, Naoki Hamada, Shigehiro Miyashita, 1994-2000 */
-/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2020 */
+/* For 3.4-, Copyright (c) SHIRAKATA Kentaro, 2002-2023 */
/* JNetHack may be freely redistributed. See license for details. */
#include "hack.h"
return strcpy(buf, VERSION_STRING);
}
+#if 1 /*JP*/
+char *
+version_string_j(buf)
+char *buf;
+{
+ return strcpy(buf, JVERSION_ID);
+}
+#endif
+
/* fill and return the given buffer with the long nethack version string */
char *
getversionstring(buf)
pline("%s", getversionstring(buf));
#if 1 /*JP*/
- pline("%s", JVERSION_ID);
+ pline("%s", version_string_j(buf));
#endif
return 0;
}
putstr(win, 0, p);
}
+#if 1 /*JP*/
+ (void) version_string_j(buf);
+ putstr(win, 0, buf);
+#endif
+
f = dlb_fopen(OPTIONS_USED, "r");
if (!f) {
putstr(win, 0, "");