mflag: check if curfile is set before using it

pull/25/head
Duncaen 7 years ago
parent 2287e89631
commit 08ea54953f

@ -92,7 +92,7 @@ doit:
goto skip;
}
if (strcmp(file+indent, curfile) == 0)
if (curfile && strcmp(file+indent, curfile) == 0)
blaze822_seq_setcur(dst+indent);
printf("%s\n", dst);

Loading…
Cancel
Save