about summary refs log tree commit diff
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 17:23:40 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-03 17:33:34 +0100
commit2e4a41e84029cbfa70c654fe5dfb35747f2dfbba (patch)
treedb4a982a97a488d91370e252072286190b90530a /ui-repolist.c
parentui-shared: Add current url helper function. (diff)
downloadcgit-pink-2e4a41e84029cbfa70c654fe5dfb35747f2dfbba.tar.gz
cgit-pink-2e4a41e84029cbfa70c654fe5dfb35747f2dfbba.zip
Make root handling sane again.
Diffstat (limited to '')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 12ac1fc..e945f67 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -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>");