diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-16 08:09:59 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-16 08:09:59 -0400 |
commit | 76ec9422a66c4ff59dc0590d80f7f6e931fd8e1a (patch) | |
tree | 914b01d7f01ea8b90397041dce2437305453aba2 /sway/workspace.c | |
parent | 5ed999b1101e5a5830461f56977950232a6c8106 (diff) | |
parent | eefc76b39e61ce04fa8ac0e732a22c10d9c98e1f (diff) |
Merge pull request #38 from taiyu-len/master
get/set_userdata stores swayc_t *, fixed memory leak, minor changes.
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index 49a1224f..a08877be 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'", args->items[1]); + sway_log(L_DEBUG, "Got valid workspace command for target: '%s'", (char *)args->items[1]); char* target = malloc(strlen(args->items[1]) + 1); strcpy(target, args->items[1]); while (*target == ' ' || *target == '\t') |