diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstylemap.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llstylemap.cpp b/linden/indra/newview/llstylemap.cpp index 365de2f..89fa3cd 100644 --- a/linden/indra/newview/llstylemap.cpp +++ b/linden/indra/newview/llstylemap.cpp | |||
@@ -61,14 +61,17 @@ const LLStyleSP &LLStyleMap::lookup(const LLUUID &source) | |||
61 | LLStyleSP style(new LLStyle); | 61 | LLStyleSP style(new LLStyle); |
62 | style->setVisible(true); | 62 | style->setVisible(true); |
63 | style->setFontName(LLStringUtil::null); | 63 | style->setFontName(LLStringUtil::null); |
64 | if (source != LLUUID::null) | 64 | if (source != LLUUID::null && source != gAgent.getID() ) |
65 | { | 65 | { |
66 | style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); | 66 | style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); |
67 | std::string link = llformat("secondlife:///app/agent/%s/about",source.asString().c_str()); | 67 | std::string link = llformat("secondlife:///app/agent/%s/about",source.asString().c_str()); |
68 | style->setLinkHREF(link); | 68 | style->setLinkHREF(link); |
69 | } | 69 | } |
70 | else | 70 | else |
71 | { | ||
72 | // Make the resident's own name white and don't make the name clickable. | ||
71 | style->setColor(LLColor4::white); | 73 | style->setColor(LLColor4::white); |
74 | } | ||
72 | (*this)[source] = style; | 75 | (*this)[source] = style; |
73 | } | 76 | } |
74 | return (*this)[source]; | 77 | return (*this)[source]; |