summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-02 05:21:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-02 05:21:25 +0300
commit88ff6f74fa5b5103e6391d320b938838752fc6c4 (patch)
treed527a984dcdc4028e109963de93dbf2ba17682fb /src/client.cpp
parentc845e800f0d4b17bc5ce65806fa5fadd9468c858 (diff)
downloadmanaverse-88ff6f74fa5b5103e6391d320b938838752fc6c4.tar.gz
manaverse-88ff6f74fa5b5103e6391d320b938838752fc6c4.tar.bz2
manaverse-88ff6f74fa5b5103e6391d320b938838752fc6c4.tar.xz
manaverse-88ff6f74fa5b5103e6391d320b938838752fc6c4.zip
Show version in game window caption.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index c05c744bc..dd8838244 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -372,8 +372,9 @@ void Client::gameInit()
SDL_EnableUNICODE(1);
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
- SDL_WM_SetCaption(branding.getValue("appName",
- "ManaPlus").c_str(), nullptr);
+ SDL_WM_SetCaption(strprintf("%s %s",
+ branding.getStringValue("appName").c_str(),
+ SMALL_VERSION).c_str(), nullptr);
ResourceManager *resman = ResourceManager::getInstance();