summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-29 21:04:52 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-29 21:04:52 +0300
commit6586055320922b4219d382f24383b00e20387e03 (patch)
tree01db66d732a3e4f01ed2ad0f07b3f18ced8f9007
parent6f7cba0f9111c85d32d9ec4e9f52be5e7fbaaf9e (diff)
SL-19787 Crash at LLUIColor::operator
-rw-r--r--indra/llui/lluicolortable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lluicolortable.cpp b/indra/llui/lluicolortable.cpp
index b84bb13edb..096336045c 100644
--- a/indra/llui/lluicolortable.cpp
+++ b/indra/llui/lluicolortable.cpp
@@ -230,7 +230,7 @@ void LLUIColorTable::saveUserSettings() const
{
// Compare user color value with the default value, skip if equal
string_color_map_t::const_iterator itd = mLoadedColors.find(it->first);
- if(itd != mUserSetColors.end() && itd->second == it->second)
+ if(itd != mLoadedColors.end() && itd->second == it->second)
continue;
ColorEntryParams color_entry;