| 128 | } |
| 129 | |
| 130 | static void Hotkeys_RemoveText(int index) { |
| 131 | struct HotkeyData* hKey = HotkeysList; |
| 132 | int i; |
| 133 | |
| 134 | for (i = 0; i < HotkeysText.count; i++, hKey++) { |
| 135 | if (hKey->textIndex >= index) hKey->textIndex--; |
| 136 | } |
| 137 | StringsBuffer_Remove(&HotkeysText, index); |
| 138 | } |
| 139 | |
| 140 | |
| 141 | void Hotkeys_Add(int trigger, cc_uint8 modifiers, const cc_string* text, cc_uint8 flags) { |
no test coverage detected