diff options
author | pommicket <pommicket@gmail.com> | 2023-01-01 23:35:55 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-01 23:35:55 -0500 |
commit | 94b241351c7418c2f6a32cc01b889bc48478c50d (patch) | |
tree | 6647c7428c82fe2cd8290fc94983e5934ca1b4e2 /config.c | |
parent | 4a8dcb2db975a3681ff63518a20ca8afc3137782 (diff) |
replace @OPTIMIZE with @TODO
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ static u32 config_parse_key_combo(ConfigReader *cfg, char const *str) { {"X2", "x2", SCANCODE_MOUSE_X2, 0} }; - // @OPTIMIZE: sort key_names (and split keyname1/2); do a binary search + // @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(str, k->keyname1) || (k->keyname2 && streq(str, k->keyname2))) { |