X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1d4aaff696ee1b9085dda0f0f3d84d9d20d96db0..e8920b52629911f92dbbecdb1d7675760e7a781e:/ui-tree.c diff --git a/ui-tree.c b/ui-tree.c index 75ce449..634132f 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -43,7 +43,7 @@ static void print_object(const unsigned char *sha1, char *path) while(idx < size) { if (buf[idx] == '\n') { buf[idx] = '\0'; - htmlf("%d", + htmlf("%1$d", ++lineno); html_txt(buf + start); html("\n");