Fixed two warnings (caused by the layout extensions).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19304 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-11-16 13:02:12 +00:00
parent 1584cff13b
commit a0c952adf2
+2
View File
@@ -820,6 +820,7 @@ BComboBox::TextInput::AlignTextRect()
BRect textRect = TextRect();
switch (Alignment()) {
default:
case B_ALIGN_LEFT:
textRect.OffsetTo(B_ORIGIN);
break;
@@ -1483,6 +1484,7 @@ BComboBox::Draw(BRect /*updateRect*/)
GetFontHeight(&fInfo);
switch (fLabelAlign) {
default:
case B_ALIGN_LEFT:
loc.x = bounds.left + TV_MARGIN;
break;