Do it for object names too, otherwise talking through scripts looks wrong

Also this is needed for local chat ^^;
This commit is contained in:
Lirusaito
2019-02-01 10:15:05 -05:00
parent 0d22841da1
commit 3054be307e
2 changed files with 3 additions and 3 deletions

View File

@@ -9075,7 +9075,7 @@ This should be as low as possible, but too low may break functionality</string>
<key>HTMLAgentColor</key>
<map>
<key>Comment</key>
<string>Color of hyperlinked usernames</string>
<string>Color of hyperlinked user/object names</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>

View File

@@ -77,7 +77,7 @@ const LLStyleSP &LLStyleMap::lookup(const LLUUID& id, const std::string& link)
LLStyleSP style(new LLStyle);
if (id.notNull() && !link.empty())
{
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
style->setLinkHREF(link);
}
else
@@ -102,6 +102,6 @@ void LLStyleMap::update()
{
LLStyleSP &style = iter->second;
// Update the link color in case it has been changed.
style->setColor(gSavedSettings.getColor4("HTMLLinkColor"));
style->setColor(gSavedSettings.getColor4("HTMLAgentColor"));
}
}