diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llurldispatcher.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llurldispatcher.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llurldispatcher.cpp b/linden/indra/newview/llurldispatcher.cpp index 658cf39..229314e 100644 --- a/linden/indra/newview/llurldispatcher.cpp +++ b/linden/indra/newview/llurldispatcher.cpp | |||
@@ -163,11 +163,13 @@ bool LLURLDispatcherImpl::dispatchRightClick(const std::string& url) | |||
163 | // static | 163 | // static |
164 | bool LLURLDispatcherImpl::dispatchHelp(const std::string& url, BOOL right_mouse) | 164 | bool LLURLDispatcherImpl::dispatchHelp(const std::string& url, BOOL right_mouse) |
165 | { | 165 | { |
166 | #if LL_LIBXUL_ENABLED | ||
166 | if (matchPrefix(url, SLURL_SL_HELP_PREFIX)) | 167 | if (matchPrefix(url, SLURL_SL_HELP_PREFIX)) |
167 | { | 168 | { |
168 | gViewerHtmlHelp.show(); | 169 | gViewerHtmlHelp.show(); |
169 | return true; | 170 | return true; |
170 | } | 171 | } |
172 | #endif | ||
171 | return false; | 173 | return false; |
172 | } | 174 | } |
173 | 175 | ||
@@ -324,7 +326,7 @@ void LLURLDispatcherImpl::regionHandleCallback(U64 region_handle, const std::str | |||
324 | bool LLURLDispatcherImpl::matchPrefix(const std::string& url, const std::string& prefix) | 326 | bool LLURLDispatcherImpl::matchPrefix(const std::string& url, const std::string& prefix) |
325 | { | 327 | { |
326 | std::string test_prefix = url.substr(0, prefix.length()); | 328 | std::string test_prefix = url.substr(0, prefix.length()); |
327 | LLString::toLower(test_prefix); | 329 | LLStringUtil::toLower(test_prefix); |
328 | return test_prefix == prefix; | 330 | return test_prefix == prefix; |
329 | } | 331 | } |
330 | 332 | ||