diff options
author | Richard Linden <none@none> | 2010-07-01 21:29:25 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-07-01 21:29:25 -0700 |
commit | ee7fce63fe706734b5931fb9d2bb351c0be71c83 (patch) | |
tree | fa50b52d39f70b0a6d94dfa03d2dbe73e0b72353 /indra | |
parent | 6a870687713c4e7f0ab4820a27b6ba95e53e2555 (diff) |
missed some cases in font valign switch
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llfontgl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp index f17ea6ca98..6eb5e0eff4 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -132,9 +132,13 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, const LLRect& rect case VCENTER: y = rect.getCenterY(); break; + case BASELINE: case BOTTOM: y = rect.mBottom; break; + default: + y = rect.mBottom; + break; } return render(wstr, begin_offset, x, y, color, halign, valign, style, shadow, max_chars, rect.getWidth(), right_x, use_ellipses); } |