mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Fix format warnings
This commit is contained in:
parent
cb504c8f7b
commit
be2635daa6
3 changed files with 8 additions and 8 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue