]> git.sur5r.net Git - i3/i3/commitdiff
clang-format
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 14 Sep 2015 08:22:43 +0000 (10:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 14 Sep 2015 08:22:43 +0000 (10:22 +0200)
(When will I learn? I need to integrate clang-format into my editor.)

src/workspace.c

index 61b68515c77d4a8338f8047cdb0c18fc07bbcbee..1a3b15d53c3975dfc42bc0ad567f7b030bec27df 100644 (file)
@@ -158,11 +158,11 @@ void extract_workspace_names_from_bindings(void) {
         }
         DLOG("Saving workspace name \"%s\"\n", target_name);
 
-        binding_workspace_names = srealloc(binding_workspace_names, ++n * sizeof(char*));
-        binding_workspace_names[n-1] = target_name;
+        binding_workspace_names = srealloc(binding_workspace_names, ++n * sizeof(char *));
+        binding_workspace_names[n - 1] = target_name;
     }
-    binding_workspace_names = srealloc(binding_workspace_names, ++n * sizeof(char*));
-    binding_workspace_names[n-1] = NULL;
+    binding_workspace_names = srealloc(binding_workspace_names, ++n * sizeof(char *));
+    binding_workspace_names[n - 1] = NULL;
 }
 
 /*