From: Hiltjo Posthuma Date: Mon, 17 Apr 2017 11:39:05 +0000 (+0200) Subject: stagit: fix rendering of first TAB in file X-Git-Url: https://git.armaanb.net/?a=commitdiff_plain;ds=sidebyside;h=394d90b7bb878b54173a08bfe31402ddd29a2a54;p=stagit.git stagit: fix rendering of first TAB in file else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line. --- diff --git a/stagit.c b/stagit.c index f438a02..ca70214 100644 --- a/stagit.c +++ b/stagit.c @@ -379,7 +379,7 @@ int writeblobhtml(FILE *fp, const git_blob *blob) { size_t n = 0, i, prev; - const char *nfmt = "%6d "; + const char *nfmt = "%6d "; const char *s = git_blob_rawcontent(blob); git_off_t len = git_blob_rawsize(blob);