aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 4cb7061..82b950e 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -214,6 +214,8 @@ std::string SCREEN_LAST_FILENAME = "screen_last.bmp";
214// 214//
215extern S32 gStartImageWidth; 215extern S32 gStartImageWidth;
216extern S32 gStartImageHeight; 216extern S32 gStartImageHeight;
217extern std::string gSecondLife;
218extern std::string gWindowTitle;
217 219
218// 220//
219// local globals 221// local globals
@@ -2144,6 +2146,14 @@ bool idle_startup()
2144 { 2146 {
2145 LL_DEBUGS("AppInitStartupState") << "STATE_INVENTORY_SEND" << LL_ENDL; 2147 LL_DEBUGS("AppInitStartupState") << "STATE_INVENTORY_SEND" << LL_ENDL;
2146 2148
2149 // Change the window title to include the avatar name if we're using multiple viewers -- MC
2150 if (gSavedSettings.getBOOL("AllowMultipleViewers"))
2151 {
2152 gWindowTitle = gSecondLife + " - " + firstname + " " + lastname;
2153 LLStringUtil::truncate(gWindowTitle, 255);
2154 gViewerWindow->getWindow()->setWindowTitle(gWindowTitle);
2155 }
2156
2147 // unpack thin inventory 2157 // unpack thin inventory
2148 LLUserAuth::options_t options; 2158 LLUserAuth::options_t options;
2149 options.clear(); 2159 options.clear();