summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-07-01 21:29:25 -0700
committerRichard Linden <none@none>2010-07-01 21:29:25 -0700
commitee7fce63fe706734b5931fb9d2bb351c0be71c83 (patch)
treefa50b52d39f70b0a6d94dfa03d2dbe73e0b72353 /indra
parent6a870687713c4e7f0ab4820a27b6ba95e53e2555 (diff)
missed some cases in font valign switch
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llfontgl.cpp4
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);
}