diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c index 54839322..42d6b173 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -307,9 +307,9 @@ static bool cmd_gaps(struct sway_config *config, int argc, char **argv) { | |||
307 | errno = 0; | 307 | errno = 0; |
308 | return false; | 308 | return false; |
309 | } | 309 | } |
310 | if (strcmp(argv[0], "inner") == 0) { | 310 | if (strcasecmp(argv[0], "inner") == 0) { |
311 | config->gaps_inner = amount; | 311 | config->gaps_inner = amount; |
312 | } else if (strcmp(argv[0], "outer") == 0) { | 312 | } else if (strcasecmp(argv[0], "outer") == 0) { |
313 | config->gaps_outer = amount; | 313 | config->gaps_outer = amount; |
314 | } else { | 314 | } else { |
315 | return false; | 315 | return false; |