From: Armaan Bhojwani Date: Mon, 5 Apr 2021 22:27:25 +0000 (-0400) Subject: Remove file name from first line X-Git-Url: https://git.armaanb.net/?p=stagit.git;a=commitdiff_plain;h=d193d5eb9cae6cb35070dcfd864541912688dd07 Remove file name from first line --- diff --git a/src/stagit.c b/src/stagit.c index 9a13e66..75fca67 100644 --- a/src/stagit.c +++ b/src/stagit.c @@ -416,8 +416,7 @@ call_chroma(const char *filename, FILE *fp, const char *s, size_t len) printf("child is null: %s", strerror(errno)); exit(1); } - // Give filename through STDIN: - fprintf(child, "%s\n", filename); + // Give code to highlight through STDIN: int lc; size_t i;