| 208 | } |
| 209 | |
| 210 | static void StoredHotkeys_LoadAll(void) { |
| 211 | cc_string entry, key, value; |
| 212 | int i; |
| 213 | |
| 214 | for (i = 0; i < Options.count; i++) { |
| 215 | StringsBuffer_UNSAFE_GetRaw(&Options, i, &entry); |
| 216 | String_UNSAFE_Separate(&entry, '=', &key, &value); |
| 217 | |
| 218 | if (!String_CaselessStarts(&key, &prefix)) continue; |
| 219 | StoredHotkey_Parse(&key, &value); |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | void StoredHotkeys_Load(int trigger, cc_uint8 modifiers) { |
| 224 | cc_string key, value; char keyBuffer[STRING_SIZE]; |
no test coverage detected