shithub: choc

Download patch

ref: 847770da1ec8d22a32f85f2af25ad3b0c34d9236
parent: b88a8cdb769e79df9636bbb8b0d8678ddc994d9f
author: Simon Howard <fraggle@soulsphere.org>
date: Fri Nov 9 20:01:01 EST 2018

Clean up previous -version change.

A few nitpick points here.

--- a/src/i_main.c
+++ b/src/i_main.c
@@ -42,14 +42,11 @@
     myargv = argv;
 
     //!
-    // @arg
-    //
     // Print the program version and exit.
     //
-
     if (M_ParmExists("-version") || M_ParmExists("--version")) {
-        puts (PACKAGE_NAME " " PACKAGE_VERSION);
-        exit (0);
+        puts(PACKAGE_STRING);
+        exit(0);
     }
 
     M_FindResponseFile();