diff options
author | krzys-h <krzys_h@interia.pl> | 2013-12-27 11:15:36 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-12-27 11:15:36 +0100 |
commit | 9a741a66a4982cf324834dc2f1e5cff6e6038ade (patch) | |
tree | b7a9ff16dad7d68f234d95ddb0816ec77b4a66f4 /src/ui/maindialog.cpp | |
parent | 8b5b2eeaa152129dd23a9c127bd59ec260956c42 (diff) | |
download | colobot-9a741a66a4982cf324834dc2f1e5cff6e6038ade.tar.gz colobot-9a741a66a4982cf324834dc2f1e5cff6e6038ade.tar.bz2 colobot-9a741a66a4982cf324834dc2f1e5cff6e6038ade.zip |
Changed version display in bottom-right corner to be actually version number instead of date
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r-- | src/ui/maindialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index 7540f3d..f9ca09c 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -20,6 +20,7 @@ #include "app/app.h" #include "app/system.h" +#include "common/config.h" #include "common/global.h" #include "common/event.h" #include "common/logger.h" @@ -1976,7 +1977,7 @@ ddim.y = 9.0f/480.0f; ddim.y = 10.0f/480.0f; //#endif //GetResource(RES_TEXT, RT_VERSION_ID, name); - pl = pw->CreateLabel(pos, ddim, 0, EVENT_LABEL1, __DATE__); + pl = pw->CreateLabel(pos, ddim, 0, EVENT_LABEL1, COLOBOT_VERSION_DISPLAY); pl->SetFontType(Gfx::FONT_COURIER); pl->SetFontSize(9.0f); } |