1
1
mirror of synced 2025-01-23 23:04:06 +01:00

Fix Keybindings initial

This commit is contained in:
RyuMiya 2023-12-25 18:57:29 +08:00
parent 3a6c16d116
commit df389c72fc

View File

@ -200,6 +200,7 @@ SetCardConfigValue (toml_table_t *table, const char *key, CardKeybindings *cards
toml_table_t* card_obj = toml_table_at(top_array, i);
if (card_obj) {
CardKeybindings cardInfo = cards[i] = {};
memset(&cardInfo.keybindings, 0, sizeof(cardInfo.keybindings));
cardInfo.card = readConfigString(card_obj, "CARD", "");
toml_array_t *array = toml_array_in (card_obj, "READ_KEY");