From a0c952adf21e3bc226c3d56b11e466450366622c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 16 Nov 2006 13:02:12 +0000 Subject: [PATCH] Fixed two warnings (caused by the layout extensions). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19304 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bemail/ComboBox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/bemail/ComboBox.cpp b/src/apps/bemail/ComboBox.cpp index abcadcb9c2..8e327a864a 100644 --- a/src/apps/bemail/ComboBox.cpp +++ b/src/apps/bemail/ComboBox.cpp @@ -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;