From 000f19e22650e64f00e1b253799a785c0d362a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 9 Apr 2009 09:29:33 +0000 Subject: [PATCH] Small coding style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30056 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/StatusWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kits/tracker/StatusWindow.cpp b/src/kits/tracker/StatusWindow.cpp index c1899ac9f1..0fc427800c 100644 --- a/src/kits/tracker/StatusWindow.cpp +++ b/src/kits/tracker/StatusWindow.cpp @@ -249,12 +249,13 @@ BStatusWindow::CreateStatusItem(thread_id thread, StatusWindowState type) { AutoLock 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(be_app->WindowAt(index)) && be_app->WindowAt(index)->IsActive()) { desktopActive = true; break; } + } } if (IsHidden()) {