]> git.mxchange.org Git - flightgear.git/commitdiff
A better way to stringize the predefined SimGear version number
authorehofman <ehofman>
Mon, 14 Dec 2009 19:51:05 +0000 (19:51 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 14 Dec 2009 21:49:47 +0000 (22:49 +0100)
src/Main/options.cxx

index 15e6e00b49a60f40ffeb1f9023671e73e4e985f0..29542fb7e566a5e3030a19d2a2ea982587e240f9 100644 (file)
@@ -1209,7 +1209,7 @@ fgOptVersion( const char *arg )
         cerr << *it;
     }
     cerr << endl;
-    cerr << "SimGear version: " << SIMGEAR_VERSION << endl;
+    cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl;
     cerr << "PLIB version: " << PLIB_VERSION << endl;
     return FG_OPTIONS_EXIT;
 }