mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 17:08:57 +00:00
Made the version string from autorevision...
...also include base version from wesconfig.h
This commit is contained in:
parent
097f8a08ef
commit
45a073d033
@ -56,8 +56,8 @@ namespace game_config
|
||||
const std::string revision = VERSION " (" REVISION ")";
|
||||
#elif defined(VCS_SHORT_HASH) && defined(VCS_WC_MODIFIED)
|
||||
const std::string revision
|
||||
= std::string(VCS_SHORT_HASH)
|
||||
+ (VCS_WC_MODIFIED ? "-Modified" : "-Clean");
|
||||
= std::string(VERSION) + " ("
|
||||
+ VCS_SHORT_HASH + (VCS_WC_MODIFIED ? "-Modified" : "-Clean") + ")";
|
||||
#else
|
||||
const std::string revision = VERSION;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user