aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-15 10:29:37 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-15 10:29:37 +0100
commit71a25d5da77eab59d9602025aa4dfe557c672237 (patch)
tree4a79da04f4b3babb9211eaa7160b9bf2b7bbcc10 /sway/commands.c
parent242da783f468ea4ff8b88fa5c549379b0b6f449d (diff)
Remove a couple of unwanted spaces
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c
index f6c3b094..559d1e06 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1674,7 +1674,7 @@ static struct cmd_results *bar_cmd_modifier(int argc, char **argv) {
return cmd_results_new(CMD_INVALID, "modifier", "Unknown modifier '%s'", split->items[i]);
}
}
- free_flat_list(split);
+ free_flat_list(split);
config->current_bar->modifier = mod;
sway_log(L_DEBUG, "Show/Hide the bar when pressing '%s' in hide mode.", argv[0]);
@@ -1717,7 +1717,7 @@ static struct cmd_results *bar_cmd_status_command(int argc, char **argv) {
if (!config->current_bar) {
return cmd_results_new(CMD_FAILURE, "status_command", "No bar defined.");
}
-
+
free(config->current_bar->status_command);
config->current_bar->status_command = join_args(argv, argc);
sway_log(L_DEBUG, "Feeding bar with status command: %s", config->current_bar->status_command);