aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp
index cfe5cb6..209af42 100644
--- a/linden/indra/newview/llwebbrowserctrl.cpp
+++ b/linden/indra/newview/llwebbrowserctrl.cpp
@@ -491,7 +491,7 @@ void LLWebBrowserCtrl::navigateToLocalPage( const std::string& subdir, const std
491 filename += delim; 491 filename += delim;
492 filename += filename_in; 492 filename += filename_in;
493 493
494 std::string expanded_filename = gDirUtilp->getExpandedFilename(LL_PATH_HTML, language, filename); 494 std::string expanded_filename = gDirUtilp->findSkinnedFilename("html", language, filename);
495 495
496 if (gDirUtilp->fileExists(expanded_filename)) 496 if (gDirUtilp->fileExists(expanded_filename))
497 { 497 {
@@ -500,7 +500,7 @@ void LLWebBrowserCtrl::navigateToLocalPage( const std::string& subdir, const std
500 } 500 }
501 if (language != "en-us") 501 if (language != "en-us")
502 { 502 {
503 expanded_filename = gDirUtilp->getExpandedFilename(LL_PATH_HTML, "en-us", filename); 503 expanded_filename = gDirUtilp->findSkinnedFilename("html", "en-us", filename);
504 if (gDirUtilp->fileExists(expanded_filename)) 504 if (gDirUtilp->fileExists(expanded_filename))
505 { 505 {
506 navigateTo(expanded_filename); 506 navigateTo(expanded_filename);