summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-10-03 19:05:17 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-10-03 22:50:44 +0200
commitb33beb0fdb503544b1fd26da0341d5b406ffd8e4 (patch)
tree6e08925129a65fbff78cca874ec011abdd21959f
parentd9810fbe50431d44de4df2ad7b9db37ddaf640c1 (diff)
#2408 The long covenant with emojis (crash fix)
-rw-r--r--indra/llui/llstyle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llstyle.cpp b/indra/llui/llstyle.cpp
index f1d57a2273..aafcfbc143 100644
--- a/indra/llui/llstyle.cpp
+++ b/indra/llui/llstyle.cpp
@@ -66,9 +66,9 @@ LLStyle* LLStyle::makeCopy() const
copy->mDropShadow = mDropShadow;
copy->mFontName = mFontName;
copy->mLink = mLink;
- copy->mColor = mColor;
- copy->mReadOnlyColor = mReadOnlyColor;
- copy->mSelectedColor = mSelectedColor;
+ copy->mColor.set(mColor.get());
+ copy->mReadOnlyColor.set(mReadOnlyColor.get());
+ copy->mSelectedColor.set(mSelectedColor.get());
copy->mFont = mFont;
copy->mImagep = mImagep;
copy->mAlpha = mAlpha;