follow-up bit (in unused ms-dos code)
This commit is contained in:
@@ -191,8 +191,8 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
strncpy(tibheader.ident, "NetHack 3.7 MSDOS Port binary tile file", 80);
|
strncpy(tibheader.ident, "NetHack 3.7 MSDOS Port binary tile file", 80);
|
||||||
#if !defined(NOSTRFTIME)
|
#if !defined(NOSTRFTIME)
|
||||||
if (!strftime(tibheader.timestamp,
|
(void) strftime(tibheader.timestamp,
|
||||||
sizeof tibheader.timestamp, "%c", newtime))
|
sizeof tibheader.timestamp, "%c", newtime);
|
||||||
#else
|
#else
|
||||||
strncpy(tibheader.timestamp, asctime(newtime), 24);
|
strncpy(tibheader.timestamp, asctime(newtime), 24);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user