From: Michael Stapelberg Date: Sat, 14 Mar 2015 21:31:58 +0000 (+0100) Subject: clang-format src/commands.c X-Git-Tag: 4.10.1~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=513510de6934e987cf8f02627368e2ff25b910df;p=i3%2Fi3 clang-format src/commands.c --- diff --git a/src/commands.c b/src/commands.c index 13a28093..a3901df4 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1914,9 +1914,7 @@ void cmd_rename_workspace(I3_CMD, char *old_name, char *new_name) { TAILQ_FOREACH(assignment, &ws_assignments, ws_assignments) { if (assignment->output == NULL) continue; - if (strcmp(assignment->name, workspace->name) != 0 - && (!name_is_digits(assignment->name) || ws_name_to_number(assignment->name) != workspace->num)) { - + if (strcmp(assignment->name, workspace->name) != 0 && (!name_is_digits(assignment->name) || ws_name_to_number(assignment->name) != workspace->num)) { continue; }