Minor fix

This commit is contained in:
Luminarys 2015-08-23 13:32:47 -05:00
parent 3f1bb40769
commit 7a21388997

View file

@ -376,7 +376,7 @@ static bool cmd_output(struct sway_config *config, int argc, char **argv) {
// TODO: atoi doesn't handle invalid numbers
if (strcmp(argv[1], "disable") == 0) {
if (strcasecmp(argv[1], "disable") == 0) {
output->enabled = false;
}