mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
fixes to cmd queue freeing, style
This commit is contained in:
parent
9a0a858d1e
commit
527288a826
3 changed files with 3 additions and 4 deletions
|
|
@ -77,7 +77,7 @@ struct sway_config *read_config(FILE *file, bool is_active) {
|
|||
char *cmd = malloc(strlen(line) + 1);
|
||||
strcpy(cmd, line);
|
||||
list_add(config->cmd_queue, cmd);
|
||||
}else if (!temp_depth && !handle_command(config, line)) {
|
||||
} else if (!temp_depth && !handle_command(config, line)) {
|
||||
sway_log(L_DEBUG, "Config load failed for line %s", line);
|
||||
success = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue