From ff9e5ec3ed218ca2becdde36854bb1d9db40dc63 Mon Sep 17 00:00:00 2001 From: RyuMiya Date: Mon, 25 Dec 2023 20:18:08 +0800 Subject: [PATCH] test --- src/poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poll.cpp b/src/poll.cpp index 8b52693..7b25f47 100644 --- a/src/poll.cpp +++ b/src/poll.cpp @@ -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", "");