Small coding style fixes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-04-13 13:35:22 +00:00
parent fefe246c70
commit 26fe41417d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ BRadioButton::Perform(perform_code code, void* _data)
BRadioButton::GetHeightForWidth(data->width, &data->min, &data->max,
&data->preferred);
return B_OK;
}
}
case PERFORM_CODE_SET_LAYOUT:
{
perform_data_set_layout* data = (perform_data_set_layout*)_data;
+1 -1
View File
@@ -1275,7 +1275,7 @@ BScrollBar::Perform(perform_code code, void* _data)
BScrollBar::GetHeightForWidth(data->width, &data->min, &data->max,
&data->preferred);
return B_OK;
}
}
case PERFORM_CODE_SET_LAYOUT:
{
perform_data_set_layout* data = (perform_data_set_layout*)_data;
+2 -2
View File
@@ -474,9 +474,9 @@ BStatusBar::SetBarHeight(float barHeight)
return;
// resize so that the height fits
if ((Flags() & B_SUPPORTS_LAYOUT) != 0) {
if ((Flags() & B_SUPPORTS_LAYOUT) != 0)
InvalidateLayout();
} else {
else {
float width, height;
GetPreferredSize(&width, &height);
ResizeTo(Bounds().Width(), height);