diff options
author | Richard Nelson <none@none> | 2010-05-26 13:14:47 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-05-26 13:14:47 -0700 |
commit | 7435ff08b5f548d6e5c61129179c70d99177cc45 (patch) | |
tree | 2f6cf43a53080567f723730041a006024974665a /indra/llui/lltextbase.cpp | |
parent | 0ebdba45f6fbcecfe0aa63bb37ddcde2efba6d87 (diff) |
DEV-50271 FIX SLURL support for non-clickable display names
separate mIsLink from mLink to support non-clickable urls (e.g. secondlife:///app/agent/0e346d8b-4433-4d66-a6b0-fd37083abc4c/completename)
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 915b0427ba..8fc6f16702 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1794,7 +1794,7 @@ void LLTextBase::replaceUrl(const std::string &url, seg->setEnd(seg_start + seg_length); // if we find a link with our Url, then replace the label - if (style->isLink() && style->getLinkHREF() == url) + if (style->getLinkHREF() == url) { S32 start = seg->getStart(); S32 end = seg->getEnd(); |