summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2014-02-10 16:11:50 -0800
committersimon <none@none>2014-02-10 16:11:50 -0800
commitcb2045fcd5106b5e0028869fc6a3e080d3f8e779 (patch)
tree8270c7d248f542107472fff9f2eb10f30721e1ee /indra/llui/llurlentry.cpp
parent8e5da5125de2bc9f8ce5ed2677556953e008c59d (diff)
parent4acc2dc2736621952b6ee0e808640dcf79e341c6 (diff)
Merge downstream code with viewer-release
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rwxr-xr-xindra/llui/llurlentry.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index 2d28ac41b2..840f67968d 100755
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -1067,10 +1067,8 @@ LLUrlEntrySLLabel::LLUrlEntrySLLabel()
std::string LLUrlEntrySLLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
- // MAINT-535 reversion test
- // std::string label = getLabelFromWikiLink(url);
- // return (!LLUrlRegistry::instance().hasUrl(label)) ? label : getUrl(url);
- return getLabelFromWikiLink(url);
+ std::string label = getLabelFromWikiLink(url);
+ return (!LLUrlRegistry::instance().hasUrl(label)) ? label : getUrl(url);
}
std::string LLUrlEntrySLLabel::getUrl(const std::string &string) const