Make root handling sane again.

This commit is contained in:
Jason A. Donenfeld
2015-03-03 17:23:40 +01:00
parent 6bcda2f73d
commit 2e4a41e840
3 changed files with 14 additions and 14 deletions

View File

@@ -140,7 +140,7 @@ static void print_pager(int items, int pagelen, char *search, char *sort)
class = (ctx.qry.ofs == ofs) ? "current" : NULL;
html("<li>");
cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1),
class, search, sort, ofs);
class, search, sort, ofs, 0);
html("</li>");
}
html("</ul>");