]> granicus.if.org Git - nethack/commitdiff
put back unintended removal of end of line strip
authornhmall <nhmall@nethack.org>
Fri, 29 Nov 2019 01:56:42 +0000 (20:56 -0500)
committernhmall <nhmall@nethack.org>
Fri, 29 Nov 2019 01:56:42 +0000 (20:56 -0500)
src/version.c

index ee01e4dfc90f8830a0689a245ada8eb2a098f263..09b06a7d032d1b65315b5e75148c07d727946440 100644 (file)
@@ -238,6 +238,7 @@ doextversion()
                 Strcpy(buf, rtbuf);
             }
         }
+        (void) strip_newline(buf);
         if (index(buf, '\t') != 0)
             (void) tabexpand(buf);