diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-05-19 00:44:43 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-05-19 00:44:43 +0300 |
commit | 76872412a26911e37bd13602ca6c29885dfd0f11 (patch) | |
tree | cb6398c1af92045e8040e9752c19cd5d6fc10cec /indra/newview/llappviewer.cpp | |
parent | 496139fe56bd456b6bdc1a32726e32fd1b07631a (diff) |
MAINT-5138 FIXED Second Life Viewer's window title is "Second Life " with a trailing space
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-x | indra/newview/llappviewer.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 6dc71bc94e..5a5d2eb744 100755 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2783,10 +2783,12 @@ bool LLAppViewer::initConfiguration() // gWindowTitle = LLTrans::getString("APP_NAME"); #if LL_DEBUG - gWindowTitle += std::string(" [DEBUG] ") + gArgs; -#else - gWindowTitle += std::string(" ") + gArgs; + gWindowTitle += std::string(" [DEBUG]") #endif + if (!gArgs.empty()) + { + gWindowTitle += std::string(" ") + gArgs; + } LLStringUtil::truncate(gWindowTitle, 255); //RN: if we received a URL, hand it off to the existing instance. |