From ae536c21d3bcab7758f4a47cbf4556c518245a7b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 16 Aug 2015 08:10:56 -0400 Subject: Revert "get/set_userdata stores swayc_t *, fixed memory leak, minor changes." --- sway/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/workspace.c') diff --git a/sway/workspace.c b/sway/workspace.c index a08877be..49a1224f 100644 --- a/sway/workspace.c +++ b/sway/workspace.c @@ -26,7 +26,7 @@ char *workspace_next_name(void) { list_t *args = split_string(command, " "); if (strcmp("workspace", args->items[0]) == 0 && args->length > 1) { - sway_log(L_DEBUG, "Got valid workspace command for target: '%s'", (char *)args->items[1]); + sway_log(L_DEBUG, "Got valid workspace command for target: '%s'", args->items[1]); char* target = malloc(strlen(args->items[1]) + 1); strcpy(target, args->items[1]); while (*target == ' ' || *target == '\t') -- cgit v1.2.3