diff options
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.h')
-rw-r--r-- | linden/indra/llui/llscrolllistctrl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.h b/linden/indra/llui/llscrolllistctrl.h index 8a31154..667a89a 100644 --- a/linden/indra/llui/llscrolllistctrl.h +++ b/linden/indra/llui/llscrolllistctrl.h | |||
@@ -212,7 +212,8 @@ public: | |||
212 | mMaxContentWidth(0), | 212 | mMaxContentWidth(0), |
213 | mIndex(-1), | 213 | mIndex(-1), |
214 | mParentCtrl(NULL), | 214 | mParentCtrl(NULL), |
215 | mHeader(NULL) | 215 | mHeader(NULL), |
216 | mFontAlignment(LLFontGL::LEFT) | ||
216 | { } | 217 | { } |
217 | 218 | ||
218 | LLScrollListColumn(const LLSD &sd) | 219 | LLScrollListColumn(const LLSD &sd) |
@@ -256,6 +257,10 @@ public: | |||
256 | { | 257 | { |
257 | mFontAlignment = (LLFontGL::HAlign)llclamp(sd.get("halign").asInteger(), (S32)LLFontGL::LEFT, (S32)LLFontGL::HCENTER); | 258 | mFontAlignment = (LLFontGL::HAlign)llclamp(sd.get("halign").asInteger(), (S32)LLFontGL::LEFT, (S32)LLFontGL::HCENTER); |
258 | } | 259 | } |
260 | else | ||
261 | { | ||
262 | mFontAlignment = LLFontGL::LEFT; | ||
263 | } | ||
259 | 264 | ||
260 | mIndex = -1; | 265 | mIndex = -1; |
261 | mParentCtrl = NULL; | 266 | mParentCtrl = NULL; |