Fix
This commit is contained in:
parent
68363428d6
commit
c53247cf3e
@ -269,8 +269,8 @@ i32 __stdcall DllMain (HMODULE mod, DWORD cause, void *ctx) {
|
|||||||
FILE *cards = fopen (configPath ("cards.dat"), "r");
|
FILE *cards = fopen (configPath ("cards.dat"), "r");
|
||||||
if (cards) {
|
if (cards) {
|
||||||
fread (accessCode1, 1, 20, cards);
|
fread (accessCode1, 1, 20, cards);
|
||||||
fread (chipId1, 1, 20, cards);
|
fread (accessCode2, 1, 20, cards);
|
||||||
fread (accessCode2, 1, 32, cards);
|
fread (chipId1, 1, 32, cards);
|
||||||
fread (chipId2, 1, 32, cards);
|
fread (chipId2, 1, 32, cards);
|
||||||
fclose (cards);
|
fclose (cards);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user