support for MultiQrCode Accounts
This commit is contained in:
parent
013556bd08
commit
c50ab88ce1
@ -78,6 +78,7 @@ HOOK_DYNAMIC (i64, __fastcall, copy_data, i64, void *dest, int length) {
|
|||||||
gState = State::AfterCopy1;
|
gState = State::AfterCopy1;
|
||||||
return card.size () + 1;
|
return card.size () + 1;
|
||||||
} else if (gMode == Mode::MultiCard) {
|
} else if (gMode == Mode::MultiCard) {
|
||||||
|
if (config) toml_free (config);
|
||||||
memcpy (dest, card_number.c_str (), card_number.size () + 1);
|
memcpy (dest, card_number.c_str (), card_number.size () + 1);
|
||||||
gState = State::AfterCopy1;
|
gState = State::AfterCopy1;
|
||||||
return card_number.size () + 1;
|
return card_number.size () + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user