From 7de15b38156a0019222d014ab23b612699c277dd Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 14 Sep 2015 10:22:43 +0200 Subject: [PATCH] clang-format (When will I learn? I need to integrate clang-format into my editor.) --- src/workspace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } /* -- 2.39.5