summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2022-08-29 00:00:31 +0200
committerKitty Barnett <develop@catznip.com>2022-08-29 00:01:43 +0200
commitbab70f6f152952ce755188d29bea1cfd8821a4be (patch)
tree164391dd9ecf0ef7df853ecb73c75db8e4a8545b /indra/llui/lltextbase.cpp
parent5440464a9cbff6f64f79667ac026a7a1983b28b4 (diff)
Review + resolve minor issues
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 9005d70b2e..0447e7070c 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -208,7 +208,7 @@ LLTextBase::LLTextBase(const LLTextBase::Params &p)
mVPad(p.v_pad),
mHAlign(p.font_halign),
mVAlign(p.font_valign),
- mTextVAlign(p.text_valign.isProvided() ? p.text_valign : p.font_valign),
+ mTextVAlign(p.text_valign.isProvided() ? p.text_valign.getValue() : p.font_valign.getValue()),
mLineSpacingMult(p.line_spacing.multiple),
mLineSpacingPixels(p.line_spacing.pixels),
mClip(p.clip),