diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-16 17:58:41 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-16 17:58:41 +0200 |
commit | a301ad63c24c8f2ca79559efeee6a780c3ef7ddc (patch) | |
tree | 198e985dc099a1b5c0004cdd576dd655918bda39 /indra/llui/llurlentry.cpp | |
parent | cef352006cf46ceef8d0e2565d9adf44d9e093f1 (diff) |
Fixed bug EXT-5290 (TP failed if try to teleport from 'Teleport completed from...' toast).
Reason: LLUrlEntrySLURL::getLocation() failed to parse maps.secondlife.com SLURLs (though worked fine for slurl.com ones).
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rw-r--r-- | indra/llui/llurlentry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 92b7816bdd..3c73ae9b0c 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -287,7 +287,7 @@ std::string LLUrlEntrySLURL::getLabel(const std::string &url, const LLUrlLabelCa std::string LLUrlEntrySLURL::getLocation(const std::string &url) const { // return the part of the Url after slurl.com/secondlife/ - const std::string search_string = "secondlife"; + const std::string search_string = "/secondlife"; size_t pos = url.find(search_string); if (pos == std::string::npos) { |