diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-15 07:03:00 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-15 07:03:00 -0500 |
commit | cfba09a4acff8fcb5944382a1161395eefe164ac (patch) | |
tree | 4a79da04f4b3babb9211eaa7160b9bf2b7bbcc10 | |
parent | Merge pull request #324 from mikkeloscar/free-bar-bindings (diff) | |
parent | Remove a couple of unwanted spaces (diff) | |
download | sway-cfba09a4acff8fcb5944382a1161395eefe164ac.tar.gz sway-cfba09a4acff8fcb5944382a1161395eefe164ac.tar.zst sway-cfba09a4acff8fcb5944382a1161395eefe164ac.zip |
Merge pull request #326 from mikkeloscar/remove-spaces
Remove a couple of unwanted spaces
-rw-r--r-- | sway/commands.c | 4 |
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) { | |||
1674 | return cmd_results_new(CMD_INVALID, "modifier", "Unknown modifier '%s'", split->items[i]); | 1674 | return cmd_results_new(CMD_INVALID, "modifier", "Unknown modifier '%s'", split->items[i]); |
1675 | } | 1675 | } |
1676 | } | 1676 | } |
1677 | free_flat_list(split); | 1677 | free_flat_list(split); |
1678 | 1678 | ||
1679 | config->current_bar->modifier = mod; | 1679 | config->current_bar->modifier = mod; |
1680 | sway_log(L_DEBUG, "Show/Hide the bar when pressing '%s' in hide mode.", argv[0]); | 1680 | 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) { | |||
1717 | if (!config->current_bar) { | 1717 | if (!config->current_bar) { |
1718 | return cmd_results_new(CMD_FAILURE, "status_command", "No bar defined."); | 1718 | return cmd_results_new(CMD_FAILURE, "status_command", "No bar defined."); |
1719 | } | 1719 | } |
1720 | 1720 | ||
1721 | free(config->current_bar->status_command); | 1721 | free(config->current_bar->status_command); |
1722 | config->current_bar->status_command = join_args(argv, argc); | 1722 | config->current_bar->status_command = join_args(argv, argc); |
1723 | sway_log(L_DEBUG, "Feeding bar with status command: %s", config->current_bar->status_command); | 1723 | sway_log(L_DEBUG, "Feeding bar with status command: %s", config->current_bar->status_command); |