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);
|
||||
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))
|
||||
&& be_app->WindowAt(index)->IsActive()) {
|
||||
desktopActive = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (IsHidden()) {
|
||||
|
||||
Reference in New Issue
Block a user