fix: bad compare.

This commit is contained in:
iceman1001 committed 2018-01-25 18:10:34 +01:00
1 parent f6b98acbf6
commit 681f2cc83d
1 file changed
+1 -1
+1 -1
View File
@@ -1946,7 +1946,7 @@ int CmdHF14AMfURestore(const char *Cmd){
if (filelen > FILE_PATH_SIZE-5)
filelen = FILE_PATH_SIZE-5;
if (filelen < 0)
if (filelen < 1)
sprintf(filename, "dumpdata.bin");
cmdp += 2;