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
master
Vadim Savchuk 2010-02-16 17:58:41 +02:00
parent cef352006c
commit a301ad63c2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{