fix: 'hf mf esave' - no extra newline in the end of the file

This commit is contained in:
iceman1001 2018-04-26 12:05:18 +02:00
parent e119db8683
commit 4f1e2f80c5

View file

@ -2500,7 +2500,9 @@ int CmdHF14AMfESave(const char *Cmd) {
}
for (j = 0; j < 16; j++)
fprintf(f, "%02X", buf[j]);
fprintf(f,"\n");
if (i != numBlocks -1)
fprintf(f, "\n");
printf("."); fflush(stdout);
}
PrintAndLogEx(NORMAL, "\n");