diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Correct three comments that drifted from the code
Diffstat (limited to '')
-rw-r--r--source/ui-tree.c8
1 file changed, 4 insertions, 4 deletions
diff --git a/source/ui-tree.c b/source/ui-tree.c
index bee750c..58bd7f0 100644
--- a/source/ui-tree.c
+++ b/source/ui-tree.c
@@ -54,15 +54,15 @@ struct only_child {
size_t count;
};
-/*
- * The anchors are handed over in batches rather than a write per line, and
- * never built whole, which would come to several times the blob's size.
- */
static void add_linenumber(struct strbuf *numbers, size_t lineno)
{
strbuf_addf(numbers, "<a id='n%zu' href='#n%zu'>%zu</a>\n", lineno, lineno, lineno);
}
+/*
+ * The anchors are handed over in batches rather than a write per line, and
+ * never built whole, which would come to several times the blob's size.
+ */
static void print_linenumbers(const char *buf, size_t size)
{
struct strbuf numbers = STRBUF_INIT;