aboutsummaryrefslogtreecommitdiff
path: root/sway/workspace.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-16 08:11:01 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-16 08:11:01 -0400
commit51f935987c401bb85859bcedca03ee7ac588e96b (patch)
treecc8ffeb1d52d770548fd99a9d0b7bbef18f90ead /sway/workspace.c
parent76ec9422a66c4ff59dc0590d80f7f6e931fd8e1a (diff)
parentae536c21d3bcab7758f4a47cbf4556c518245a7b (diff)
Merge pull request #39 from SirCmpwn/revert-38-master
Revert "get/set_userdata stores swayc_t *, fixed memory leak, minor c…
Diffstat (limited to 'sway/workspace.c')
-rw-r--r--sway/workspace.c2
1 files changed, 1 insertions, 1 deletions
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')