summaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorLuminarys <[email protected]>2015-08-13 13:22:20 -0500
committerLuminarys <[email protected]>2015-08-13 14:41:36 -0500
commit527288a826bb5602378adccbcd56a4fa8d5dd2bc (patch)
treedac4865cdeeb2315ead145c1be0e9aeeabf07080 /sway/config.c
parent9a0a858d1e29765cb48ec7a6f327fb137a871aa4 (diff)
fixes to cmd queue freeing, style
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index aeadc9a1..869fa077 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -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;
}