diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-12-15 18:39:40 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-12-15 18:39:40 -0500 |
| commit | 93dcf1e0e871adc78db4d243801220411e7a7a36 (patch) | |
| tree | 2bc1cf2c52cc6bdcba86f2d095171ceaeb020a96 | |
| parent | 060b9c3addd6168de5f097344e65580b1325d7f3 (diff) | |
Fix indentation issues
| -rw-r--r-- | sway/commands/bar/colors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/bar/colors.c b/sway/commands/bar/colors.c index f8792973..8b3b0aac 100644 --- a/sway/commands/bar/colors.c +++ b/sway/commands/bar/colors.c @@ -32,9 +32,9 @@ static struct cmd_results *parse_three_colors(char ***colors, const char *cmd_na for (i = 0; i < 3; i++) { if (!*colors[i]) { *(colors[i]) = malloc(10); - if (!*(colors[i])) { - return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color"); - } + if (!*(colors[i])) { + return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color"); + } } error = add_color(cmd_name, *(colors[i]), argv[i]); if (error) { |
