From 09a0999c682c15ec7809a1b2d4e88aa1a9d767d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 7 Dec 2011 02:49:43 +0100 Subject: [PATCH] Style fix Yes, I do need to change my glasses. --- src/apps/workspaces/Workspaces.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/workspaces/Workspaces.cpp b/src/apps/workspaces/Workspaces.cpp index 72ed59fe4a..7b3f49fbfa 100644 --- a/src/apps/workspaces/Workspaces.cpp +++ b/src/apps/workspaces/Workspaces.cpp @@ -981,13 +981,13 @@ BView* instantiate_deskbar_item() float height = 16; float rowHeight = floor((height - 1) / rows); - if(rowHeight < 1) + if (rowHeight < 1) rowHeight = 1; float columnWidth = floor((rowHeight - 1) * aspectRatio) + 1; float width = columnWidth * columns + 1; - if(width > 129) + if (width > 129) width = 129; return new WorkspacesView(BRect (0, 0, width, height), false);