diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 15:38:54 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 15:38:54 -0500 |
commit | baae904ed2c97ba5c701442ec5ef6900715f785d (patch) | |
tree | 6e6c10265624510dd73bb8bd0213a59fc02e3617 /util.c | |
parent | c37d493327ded5952f46cbf39aef920e47c1d7d9 (diff) |
switch from scancodes to keycodes
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -298,6 +298,10 @@ int strcmp_case_insensitive(const char *a, const char *b) { #endif } +bool streq_case_insensitive(const char *a, const char *b) { + return strcmp_case_insensitive(a, b) == 0; +} + int str_qsort_case_insensitive_cmp(const void *av, const void *bv) { const char *const *a = av, *const *b = bv; return strcmp_case_insensitive(*a, *b); |