summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2010-01-11 17:26:28 -0800
committerCallum Prentice <callum@lindenlab.com>2010-01-11 17:26:28 -0800
commita3ca95e3bd0e288792f6024d9487d618730fd40f (patch)
tree6d823964188dca13a7b192b273ee3f097d612e7f /indra/newview/llviewerwindow.cpp
parente31d695247f89df1490afb4b9581f562fa99617c (diff)
Fix that stops "Start Location" corruption if you drag an invalid http://slurl.com SLURL onto the login page
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 81fcfc13c2..c5c9e49934 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -840,7 +840,7 @@ LLWindowCallbacks::DragNDropResult LLViewerWindow::handleDragNDrop( LLWindow *wi
bool drop = (LLWindowCallbacks::DNDA_DROPPED == action);
// special case SLURLs
- if (std::string::npos != data.find("slurl.com") )
+ if ( LLSLURL::isSLURL( data ) )
{
if (drop)
{