From: Michael Stapelberg Date: Mon, 14 Sep 2015 08:22:43 +0000 (+0200) Subject: clang-format X-Git-Tag: 4.11~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7de15b38156a0019222d014ab23b612699c277dd;p=i3%2Fi3 clang-format (When will I learn? I need to integrate clang-format into my editor.) --- diff --git a/src/workspace.c b/src/workspace.c index 61b68515..1a3b15d5 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -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; } /*