summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-05-28 12:15:37 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-05-28 12:15:37 -0600
commitec2b00c2e5fccd7432ef1b5a5ab5c88d098e95f2 (patch)
tree20a4dbefdc7ad90c30ca692a94b04506d505819f /indra/llui
parentf697eb375e3b72f9b57cd5071552035c82bb3f0c (diff)
Don't hardcode black as the default color for syntax
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llkeywords.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp
index b4e3ccbf5e..29b9c5c2f1 100755
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -172,7 +172,7 @@ std::string LLKeywords::getAttribute(const std::string& key)
LLColor4 LLKeywords::getColorGroup(const std::string& key_in)
{
- std::string color_group = "Black";
+ std::string color_group = "ScriptText";
if (key_in == "constants-float")
{
color_group = "SyntaxLslConstantFloat";
@@ -239,7 +239,7 @@ LLColor4 LLKeywords::getColorGroup(const std::string& key_in)
}
else
{
- LL_WARNS("SyntaxLSL") << "Color key '" << key_in << "' not recognized!" << LL_ENDL;
+ LL_WARNS("SyntaxLSL") << "Color key '" << key_in << "' not recognized." << LL_ENDL;
}
return LLUIColorTable::instance().getColor(color_group);