From 6586055320922b4219d382f24383b00e20387e03 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Mon, 29 May 2023 21:04:52 +0300 Subject: SL-19787 Crash at LLUIColor::operator --- indra/llui/lluicolortable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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; -- cgit v1.2.3