summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-05-24 17:25:35 -0700
committerRichard Nelson <none@none>2010-05-24 17:25:35 -0700
commit4ea7d2de9fcab4dd4694fcbbd2fece1c57f41d2c (patch)
tree227164fcefa99483f6f02dfed1edd5133810608e /indra/llui/lltextbase.cpp
parent2920d4c46f99c8c5bc8942a08a87fa204c57464b (diff)
DEV-50271 FIX SLURL support for non-clickable display names
reviewed by James
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 78312eba73..c93e6c7257 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1583,9 +1583,7 @@ void LLTextBase::appendText(const std::string &new_text, bool prepend_newline, c
end = match.getEnd()+1;
LLStyle::Params link_params = style_params;
- link_params.color = match.getColor();
- link_params.readonly_color = match.getColor();
- link_params.font.style("UNDERLINE");
+ link_params.overwriteFrom(match.getStyle());
link_params.link_href = match.getUrl();
// output the text before the Url