istagit: fix rendering of first TAB in file - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 394d90b7bb878b54173a08bfe31402ddd29a2a54 /scm/stagit-gopher/commit/394d90b7bb878b54173a08bfe31402ddd29a2a54.gph bitreich.org 70 1parent 99583eee62af43c0504bfc2aab6058b69a46313b /scm/stagit-gopher/commit/99583eee62af43c0504bfc2aab6058b69a46313b.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Mon, 17 Apr 2017 13:39:05 +0200 Err bitreich.org 70 i Err bitreich.org 70 istagit: fix rendering of first TAB in file Err bitreich.org 70 i Err bitreich.org 70 ielse TABs wont render properly (interpreted as part of HTML whitespace) Err bitreich.org 70 iat the first TAB of the line. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit.c b/stagit.c /scm/stagit-gopher/file/stagit.c.gph bitreich.org 70 i@@ -379,7 +379,7 @@ int Err bitreich.org 70 i writeblobhtml(FILE *fp, const git_blob *blob) Err bitreich.org 70 i { Err bitreich.org 70 i size_t n = 0, i, prev; Err bitreich.org 70 i- const char *nfmt = "%6d "; Err bitreich.org 70 i+ const char *nfmt = "%6d "; Err bitreich.org 70 i const char *s = git_blob_rawcontent(blob); Err bitreich.org 70 i git_off_t len = git_blob_rawsize(blob); Err bitreich.org 70 i Err bitreich.org 70 .