diff options
author | Jacek Antonelli | 2008-08-15 23:45:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:59 -0500 |
commit | 6e91a9cc3d5a610198cf526a76e2ab642f10ecd7 (patch) | |
tree | b023869f9daa7f61ea3ab27112d37524bdd88de4 /linden/indra/newview/llwebbrowserctrl.cpp | |
parent | Second Life viewer sources 1.20.12 (diff) | |
download | meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.zip meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.gz meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.bz2 meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.xz |
Second Life viewer sources 1.20.13
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.cpp | 4 |
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); |