FIX: this should remove a warning.

This commit is contained in:
iceman1001 2016-10-10 21:55:18 +02:00
parent 2f6df13cf7
commit 25cb718daf

View file

@ -629,7 +629,7 @@ int CmdLegicRfWrite(const char *Cmd) {
PrintAndLog("#####################################");
PrintAndLog("do you really want to continue? y(es) n(o)");
char answer;
sscanf("%c", &answer);
sscanf(" %c", &answer);
bool exit = !(answer == 'n' || answer == 'N');
if (exit)
return 0;