Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18995 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -478,6 +478,7 @@ BColumnTitle::Draw(BView *view, bool pressed)
|
||||
|
||||
switch (fColumn->Alignment()) {
|
||||
case B_ALIGN_LEFT:
|
||||
default:
|
||||
loc.x = bounds.left + 1 + kTitleColumnLeftExtraMargin;
|
||||
break;
|
||||
|
||||
@@ -489,7 +490,7 @@ BColumnTitle::Draw(BView *view, bool pressed)
|
||||
loc.x = bounds.right - resultingWidth - kTitleColumnRightExtraMargin;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
view->SetHighColor(0, 0, 0);
|
||||
view->DrawString(titleString.String(), loc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user