From ff5711ee19c5341871213a1caa1239b6afccb81a Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Sun, 2 Mar 2014 15:36:18 -0500 Subject: [PATCH] LaunchBox: Add missing curly brackets (CID #991345) --- src/apps/launchbox/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/launchbox/MainWindow.cpp b/src/apps/launchbox/MainWindow.cpp index c300db0d6e..404ba14866 100644 --- a/src/apps/launchbox/MainWindow.cpp +++ b/src/apps/launchbox/MainWindow.cpp @@ -454,10 +454,11 @@ MainWindow::LoadSettings(const BMessage* message) // store workspace setting bool showOnAllWorkspaces; - if (message->FindBool("all workspaces", &showOnAllWorkspaces) == B_OK) + if (message->FindBool("all workspaces", &showOnAllWorkspaces) == B_OK) { fShowOnAllWorkspaces = showOnAllWorkspaces; SetWorkspaces(showOnAllWorkspaces ? B_ALL_WORKSPACES : 1L << current_workspace()); + } if (!fShowOnAllWorkspaces) { uint32 workspaces; if (message->FindInt32("workspaces", (int32*)&workspaces) == B_OK)