aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grab.c b/grab.c
index b16c6a4..2b18167 100644
--- a/grab.c
+++ b/grab.c
@@ -331,9 +331,9 @@ putm(struct sv sv, const char *filename)
{
if (fflag || filecnt > 1) {
if (color)
- printf("\33[35m%s\33[36m:\33[0m", filename);
+ printf("\33[35m%s\33[36m%c\33[0m", filename, zflag ? '\0' : ':');
else
- printf("%s:", filename);
+ printf("%s%c", filename, zflag ? '\0' : ':');
}
fwrite(sv.p, 1, sv.len, stdout);
putchar(zflag ? '\0' : '\n');