diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-04-29 10:04:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 10:04:13 -0400 |
commit | eab29ca0ce9bb4571816d0fa23907356ce072b7d (patch) | |
tree | 642c6451498e32eaa66b7f1b863b971d1688cb2c /sway/commands.c | |
parent | 1376de4f46ed13de133146b6d87048ce93eae1e8 (diff) | |
parent | 02812a2e4da9f274c5957975fdbb4a4a58b20a69 (diff) |
Merge pull request #1201 from SirCmpwn/fix-colors
Support specifying fewer than 5 colors
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 01e5e6b5..509fd1a8 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -250,7 +250,7 @@ static struct cmd_handler bar_handlers[] = { */ struct cmd_results *add_color(const char *name, char *buffer, const char *color) { int len = strlen(color); - if (len != 7 && len != 9 ) { + if (len != 7 && len != 9) { return cmd_results_new(CMD_INVALID, name, "Invalid color definition %s", color); } |