test
This commit is contained in:
parent
9e0f973e85
commit
ff9e5ec3ed
@ -197,7 +197,7 @@ SetCardConfigValue (toml_table_t *table, const char *key, CardKeybindings *cards
|
|||||||
cards = new CardKeybindings[length];
|
cards = new CardKeybindings[length];
|
||||||
|
|
||||||
for (size_t top_i = 0; top_i < length; ++top_i) {
|
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) {
|
if (card_obj) {
|
||||||
CardKeybindings cardInfo = cards[i] = {};
|
CardKeybindings cardInfo = cards[i] = {};
|
||||||
cardInfo.card = readConfigString(card_obj, "CARD", "");
|
cardInfo.card = readConfigString(card_obj, "CARD", "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user