From b0e87c8d6e4e6c113928bfb5fafdeecdde97472c Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 14 Dec 2009 19:51:05 +0000 Subject: [PATCH] A better way to stringize the predefined SimGear version number --- src/Main/options.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 15e6e00b4..29542fb7e 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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; }