diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:46:48 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:46:48 -0400 |
commit | 37dc96ccdde6263188ffc4f620492a4bb2017761 (patch) | |
tree | a30a05b08a64d3e2e83d50f1488aac902d542501 /indra/newview/llurllineeditorctrl.cpp | |
parent | 4c03806be99d4cb0df55b345f4c758f39d7f8560 (diff) | |
parent | 215ae1ed5d79f44549ade91f7e84134ab4589447 (diff) |
automated merge
Diffstat (limited to 'indra/newview/llurllineeditorctrl.cpp')
-rw-r--r-- | indra/newview/llurllineeditorctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llurllineeditorctrl.cpp b/indra/newview/llurllineeditorctrl.cpp index 1d2687a8c2..8488527185 100644 --- a/indra/newview/llurllineeditorctrl.cpp +++ b/indra/newview/llurllineeditorctrl.cpp @@ -89,7 +89,7 @@ void LLURLLineEditor::copyEscapedURLToClipboard() const std::string unescaped_text = wstring_to_utf8str(mText.getWString().substr(left_pos, length)); LLWString text_to_copy; - if (LLSLURL::isSLURL(unescaped_text)) + if (LLSLURL(unescaped_text).isValid()) text_to_copy = utf8str_to_wstring(LLWeb::escapeURL(unescaped_text)); else text_to_copy = utf8str_to_wstring(unescaped_text); |