From f1bb636f910e8c84bb51c22bcab622fa2af6f8f0 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sat, 9 Mar 2019 15:38:45 -0500 Subject: [PATCH] Feature Request: Build number in window title --- indra/newview/llappviewer.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 88d7c4c73..6010ae3e0 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2466,12 +2466,11 @@ bool LLAppViewer::initConfiguration() // // Set the name of the window // - gWindowTitle = LLTrans::getString("APP_NAME"); + gWindowTitle = LLTrans::getString("APP_NAME") + llformat(" (%d) ", LLVersionInfo::getBuild()) #if LL_DEBUG - gWindowTitle += std::string(" [DEBUG] ") + gArgs; -#else - gWindowTitle += std::string(" ") + gArgs; + + "[DEBUG] " #endif + + gArgs; LLStringUtil::truncate(gWindowTitle, 255); //RN: if we received a URL, hand it off to the existing instance.