diff options
Diffstat (limited to 'linden/indra/newview/llurldispatcher.cpp')
-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 | ||