aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp
index 8c56e5c..0598a63 100644
--- a/linden/indra/newview/llwebbrowserctrl.cpp
+++ b/linden/indra/newview/llwebbrowserctrl.cpp
@@ -483,13 +483,7 @@ void LLWebBrowserCtrl::navigateTo( std::string urlIn )
483 483
484void LLWebBrowserCtrl::navigateToLocalPage( const std::string& subdir, const std::string& filename_in ) 484void LLWebBrowserCtrl::navigateToLocalPage( const std::string& subdir, const std::string& filename_in )
485{ 485{
486 std::string language = gSavedSettings.getString("Language"); 486 std::string language = LLUI::getLanguage();
487
488 if(language == "default")
489 {
490 language = gSavedSettings.getString("SystemLanguage");
491 }
492
493 std::string delim = gDirUtilp->getDirDelimiter(); 487 std::string delim = gDirUtilp->getDirDelimiter();
494 std::string filename; 488 std::string filename;
495 489