Small coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30056 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -249,12 +249,13 @@ BStatusWindow::CreateStatusItem(thread_id thread, StatusWindowState type)
|
|||||||
{
|
{
|
||||||
AutoLock<BLooper> lock(be_app);
|
AutoLock<BLooper> lock(be_app);
|
||||||
int32 count = be_app->CountWindows();
|
int32 count = be_app->CountWindows();
|
||||||
for (int32 index = 0; index < count; index++)
|
for (int32 index = 0; index < count; index++) {
|
||||||
if (dynamic_cast<BDeskWindow *>(be_app->WindowAt(index))
|
if (dynamic_cast<BDeskWindow *>(be_app->WindowAt(index))
|
||||||
&& be_app->WindowAt(index)->IsActive()) {
|
&& be_app->WindowAt(index)->IsActive()) {
|
||||||
desktopActive = true;
|
desktopActive = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsHidden()) {
|
if (IsHidden()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user