diff options
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[] = { | |||
250 | */ | 250 | */ |
251 | struct cmd_results *add_color(const char *name, char *buffer, const char *color) { | 251 | struct cmd_results *add_color(const char *name, char *buffer, const char *color) { |
252 | int len = strlen(color); | 252 | int len = strlen(color); |
253 | if (len != 7 && len != 9 ) { | 253 | if (len != 7 && len != 9) { |
254 | return cmd_results_new(CMD_INVALID, name, "Invalid color definition %s", color); | 254 | return cmd_results_new(CMD_INVALID, name, "Invalid color definition %s", color); |
255 | } | 255 | } |
256 | 256 | ||