]> git.armaanb.net Git - stagit.git/commitdiff
Remove file name from first line
authorArmaan Bhojwani <me@armaanb.net>
Mon, 5 Apr 2021 22:27:25 +0000 (18:27 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 5 Apr 2021 22:27:25 +0000 (18:27 -0400)
src/stagit.c

index 9a13e6639f9e2cc6b524113aa56927f75407b722..75fca676c335c2404f940806ba457539065ebd52 100644 (file)
@@ -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;