summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-15 18:39:40 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-15 19:01:41 -0500
commit63d96c1bb45da39fa751fae654102e4dab36079a (patch)
tree2bc1cf2c52cc6bdcba86f2d095171ceaeb020a96
parentHandle calloc failures (diff)
downloadsway-63d96c1bb45da39fa751fae654102e4dab36079a.tar.gz
sway-63d96c1bb45da39fa751fae654102e4dab36079a.tar.zst
sway-63d96c1bb45da39fa751fae654102e4dab36079a.zip
Fix indentation issues
-rw-r--r--sway/commands/bar/colors.c6
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
32 for (i = 0; i < 3; i++) { 32 for (i = 0; i < 3; i++) {
33 if (!*colors[i]) { 33 if (!*colors[i]) {
34 *(colors[i]) = malloc(10); 34 *(colors[i]) = malloc(10);
35 if (!*(colors[i])) { 35 if (!*(colors[i])) {
36 return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color"); 36 return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color");
37 } 37 }
38 } 38 }
39 error = add_color(cmd_name, *(colors[i]), argv[i]); 39 error = add_color(cmd_name, *(colors[i]), argv[i]);
40 if (error) { 40 if (error) {