aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:48 -0500
committerJacek Antonelli2008-08-15 23:44:48 -0500
commit9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch)
tree2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/newview/llwebbrowserctrl.cpp
parentSecond Life viewer sources 1.13.2.12 (diff)
downloadmeta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.zip
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.gz
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.bz2
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.xz
Second Life viewer sources 1.13.2.15
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp
index afbff65..6d1ee28 100644
--- a/linden/indra/newview/llwebbrowserctrl.cpp
+++ b/linden/indra/newview/llwebbrowserctrl.cpp
@@ -251,8 +251,16 @@ void LLWebBrowserCtrl::navigateTo( std::string urlIn )
251 251
252 // don't browse to anything that starts with secondlife:// 252 // don't browse to anything that starts with secondlife://
253 if ( urlIn.length() >= protocol.length() ) 253 if ( urlIn.length() >= protocol.length() )
254 {
254 if ( LLString::compareInsensitive( urlIn.substr( 0, protocol.length() ).c_str(), protocol.c_str() ) != 0 ) 255 if ( LLString::compareInsensitive( urlIn.substr( 0, protocol.length() ).c_str(), protocol.c_str() ) != 0 )
256 {
255 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn ); 257 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn );
258 }
259 }
260 else
261 {
262 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn );
263 }
256} 264}
257 265
258//////////////////////////////////////////////////////////////////////////////// 266////////////////////////////////////////////////////////////////////////////////