summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 390d32b1a..b25f96a62 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -393,9 +393,19 @@ void Client::gameInit()
SDL_EventState(SDL_SYSWMEVENT, SDL_IGNORE);
SDL_EventState(SDL_USEREVENT, SDL_IGNORE);
- SDL_WM_SetCaption(strprintf("%s %s",
- branding.getStringValue("appName").c_str(),
- SMALL_VERSION).c_str(), nullptr);
+ if (mOptions.test.empty())
+ {
+ SDL_WM_SetCaption(strprintf("%s %s",
+ branding.getStringValue("appName").c_str(),
+ SMALL_VERSION).c_str(), nullptr);
+ }
+ else
+ {
+ SDL_WM_SetCaption(strprintf(
+ "Please wait - VIDEO MODE TEST - %s %s - Please wait",
+ branding.getStringValue("appName").c_str(),
+ SMALL_VERSION).c_str(), nullptr);
+ }
ResourceManager *resman = ResourceManager::getInstance();