Address review comments on parse_boolean

This commit is contained in:
Brian Ashworth 2018-07-23 21:37:53 -04:00
parent d56d62c1c0
commit 9ec1d6cf79
2 changed files with 10 additions and 9 deletions

View file

@ -9,7 +9,7 @@ struct cmd_results *cmd_focus_wrapping(int argc, char **argv) {
return error;
}
if (strcmp(argv[0], "force") == 0) {
if (strcasecmp(argv[0], "force") == 0) {
config->focus_wrapping = WRAP_FORCE;
} else if (parse_boolean(argv[0], config->focus_wrapping == WRAP_YES)) {
config->focus_wrapping = WRAP_YES;