summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-05 11:52:57 -0500
committerpommicket <pommicket@gmail.com>2023-01-05 11:54:50 -0500
commitbe318b18a01481d16149c34f649c9cdb1f91979d (patch)
tree9a224f909a78170a67e7e42060d1069aebaed9e8 /config.c
parentf897a6a62e9572f1f3cc6c7905192d49d7868c9a (diff)
clean up some TODOs
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.c b/config.c
index f16e7b7..41dc3dd 100644
--- a/config.c
+++ b/config.c
@@ -279,7 +279,6 @@ static u32 config_parse_key_combo(ConfigReader *cfg, const char *str) {
{"Enter", NULL, SDLK_RETURN},
{"Equals", "Equal", SDLK_EQUALS},
};
- // @TODO(optimize): sort key_names (and split keyname1/2); do a binary search
for (size_t i = 0; i < arr_count(key_names); ++i) {
KeyName const *k = &key_names[i];
if (streq_case_insensitive(str, k->keyname1) || (k->keyname2 && streq_case_insensitive(str, k->keyname2))) {