]> git.armaanb.net Git - stagit.git/commitdiff
align line numbers to 8 spaces
authorHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 17 Apr 2017 14:39:03 +0000 (16:39 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 17 Apr 2017 14:39:03 +0000 (16:39 +0200)
... now it is done.

stagit.c

index 23901c8937d15e672de8cda8efe18cb9148d623c..f280542de6281741999ed2eba1d24b6d164f47d0 100644 (file)
--- 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 = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%6d</a>  ";
+       const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%7d</a> ";
        const char *s = git_blob_rawcontent(blob);
        git_off_t len = git_blob_rawsize(blob);