From af948a949808d5ce222751e8497c1e753007f3ee Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 23 Feb 2023 09:16:12 -0700 Subject: [PATCH] Fix indent --- sway/commands/gaps.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sway/commands/gaps.c b/sway/commands/gaps.c index bc5f34f0b..04b8235f8 100644 --- a/sway/commands/gaps.c +++ b/sway/commands/gaps.c @@ -12,7 +12,7 @@ enum gaps_op { GAPS_OP_SET, GAPS_OP_ADD, GAPS_OP_SUBTRACT, - GAPS_OP_BOUNDED_SUBTRACT, + GAPS_OP_BOUNDED_SUBTRACT, GAPS_OP_TOGGLE }; @@ -104,13 +104,13 @@ static void apply_gaps_op(int *prop, enum gaps_op op, int amount) { case GAPS_OP_SUBTRACT: *prop -= amount; break; - case GAPS_OP_BOUNDED_SUBTRACT: - if (amount <= *prop) { - *prop -= amount; - } else { - *prop = 0; - } - break; + case GAPS_OP_BOUNDED_SUBTRACT: + if (amount <= *prop) { + *prop -= amount; + } else { + *prop = 0; + } + break; case GAPS_OP_TOGGLE: *prop = *prop ? 0 : amount; break; @@ -192,8 +192,8 @@ static struct cmd_results *gaps_set_runtime(int argc, char **argv) { data.operation = GAPS_OP_ADD; } else if (strcasecmp(argv[2], "minus") == 0) { data.operation = GAPS_OP_SUBTRACT; - } else if (strcasecmp(argv[2], "bounded_minus") == 0) { - data.operation = GAPS_OP_BOUNDED_SUBTRACT; + } else if (strcasecmp(argv[2], "bounded_minus") == 0) { + data.operation = GAPS_OP_BOUNDED_SUBTRACT; } else if (strcasecmp(argv[2], "toggle") == 0) { data.operation = GAPS_OP_TOGGLE; } else {