diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterhud.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloaterhud.cpp b/linden/indra/newview/llfloaterhud.cpp index cfdaba5..58e370c 100644 --- a/linden/indra/newview/llfloaterhud.cpp +++ b/linden/indra/newview/llfloaterhud.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2008&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2008&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2008, Linden Research, Inc. | 7 | * Copyright (c) 2008-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -84,12 +84,7 @@ LLFloaterHUD::LLFloaterHUD() | |||
84 | // arrow keys during tutorial). | 84 | // arrow keys during tutorial). |
85 | mWebBrowser->setTakeFocusOnClick(false); | 85 | mWebBrowser->setTakeFocusOnClick(false); |
86 | 86 | ||
87 | std::string language(gSavedSettings.getString("Language")); | 87 | std::string language = LLUI::getLanguage(); |
88 | if(language == "default") | ||
89 | { | ||
90 | language = gSavedSettings.getString("SystemLanguage"); | ||
91 | } | ||
92 | |||
93 | std::string base_url = gSavedSettings.getString("TutorialURL"); | 88 | std::string base_url = gSavedSettings.getString("TutorialURL"); |
94 | 89 | ||
95 | std::string url = base_url + language + "/"; | 90 | std::string url = base_url + language + "/"; |