]> git.sur5r.net Git - i3/i3/commitdiff
clang-format src/commands.c
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 14 Mar 2015 21:31:58 +0000 (22:31 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 14 Mar 2015 21:32:23 +0000 (22:32 +0100)
src/commands.c

index 13a2809366355efd9daeaed1336222b4c13972a4..a3901df4f142360c582c074abbdb6b29fa0554a6 100644 (file)
@@ -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;
         }