summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 487b6a8e..409afce9 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -2325,7 +2325,7 @@ static struct cmd_results *cmd_workspace(int argc, char **argv) {
// Handle workspace next/prev
swayc_t *ws = NULL;
if (argc == 2) {
- if (!(ws=workspace_by_number(argv[1]))) {
+ if (!(ws = workspace_by_number(argv[1]))) {
ws = workspace_create(argv[1]);
}
} else if (strcasecmp(argv[0], "next") == 0) {