mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
Fix indentation issues
This commit is contained in:
parent
10c8b73075
commit
63d96c1bb4
|
@ -32,9 +32,9 @@ static struct cmd_results *parse_three_colors(char ***colors, const char *cmd_na
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
if (!*colors[i]) {
|
if (!*colors[i]) {
|
||||||
*(colors[i]) = malloc(10);
|
*(colors[i]) = malloc(10);
|
||||||
if (!*(colors[i])) {
|
if (!*(colors[i])) {
|
||||||
return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color");
|
return cmd_results_new(CMD_FAILURE, cmd_name, "Unable to allocate color");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
error = add_color(cmd_name, *(colors[i]), argv[i]);
|
error = add_color(cmd_name, *(colors[i]), argv[i]);
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|
Loading…
Reference in a new issue