diff options
author | pommicket <pommicket@gmail.com> | 2022-07-29 14:44:17 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-07-29 14:44:17 -0400 |
commit | 1a9561c06ba0197b2b307a61443775f9fd11165b (patch) | |
tree | 2297afc02e5a4eb7f65a8248db3906284c144737 /syntax.c | |
parent | ab65fe136f7a8739b78aaa4801a9fb761a301417 (diff) |
language-specific keyboard shortcuts
Diffstat (limited to 'syntax.c')
-rw-r--r-- | syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ // returns the language this string is referring to, or LANG_NONE if it's invalid. Language language_from_str(char const *str) { for (int i = 0; i < LANG_COUNT; ++i) { - if (streq(language_names[i].name, str)) + if (strcmp_case_insensitive(language_names[i].name, str) == 0) return language_names[i].lang; } return LANG_NONE; |