1
1
mirror of synced 2025-01-23 23:04:06 +01:00
This commit is contained in:
RyuMiya 2023-12-25 20:18:08 +08:00
parent 9e0f973e85
commit ff9e5ec3ed

View File

@ -197,7 +197,7 @@ SetCardConfigValue (toml_table_t *table, const char *key, CardKeybindings *cards
cards = new CardKeybindings[length];
for (size_t top_i = 0; top_i < length; ++top_i) {
toml_table_t* card_obj = toml_table_at(top_array, i);
toml_table_t* card_obj = toml_table_at(top_array, top_i);
if (card_obj) {
CardKeybindings cardInfo = cards[i] = {};
cardInfo.card = readConfigString(card_obj, "CARD", "");