Author: esr
Date: Wed Apr 25 17:52:11 2007
New Revision: 17089
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17089&view=rev
Log:
Conditionalize another revision display.
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=17089&r1=17088&r2=17089&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Wed Apr 25 17:52:11 2007
@@ -1931,9 +1931,9 @@
try {
std::cerr << "Battle for Wesnoth v" << VERSION
-#ifdef SVNREV
- << " (" << SVNREV << ')'
-#endif
+#if defined(SVNREV) and defined(DO_DISPLAY_REVISION)
+ << " (" << game_config::svnrev << ")"
+#endif /* defined(SVNREV) and defined(DO_DISPLAY_REVISION) */
<< '\n';
time_t t = time(NULL);
std::cerr << "Started on " << ctime(&t) << "\n";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits