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:
Stephan Aßmus
2009-04-09 09:29:33 +00:00
parent 61d107c8a7
commit 000f19e226
+2 -1
View File
@@ -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()) {