about summary refs log tree commit diff
path: root/mflag.c
diff options
context:
space:
mode:
Diffstat (limited to 'mflag.c')
-rw-r--r--mflag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mflag.c b/mflag.c
index 852caa9..479030c 100644
--- a/mflag.c
+++ b/mflag.c
@@ -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);