From bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 3 Mar 2013 23:21:33 -0500 Subject: White space around control verbs. Signed-off-by: Jason A. Donenfeld --- ui-repolist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-repolist.c') diff --git a/ui-repolist.c b/ui-repolist.c index 449478d..1ae22aa 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -129,7 +129,7 @@ void print_pager(int items, int pagelen, char *search, char *sort) int i, ofs; char *class = NULL; html("
"); - for(i = 0, ofs = 0; ofs < items; i++, ofs = i * pagelen) { + for (i = 0, ofs = 0; ofs < items; i++, ofs = i * pagelen) { class = (ctx.qry.ofs == ofs) ? "current" : NULL; cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1), class, search, sort, ofs); @@ -258,7 +258,7 @@ void cgit_print_repolist() if (ctx.cfg.index_header) html_include(ctx.cfg.index_header); - if(ctx.qry.sort) + if (ctx.qry.sort) sorted = sort_repolist(ctx.qry.sort); else if (ctx.cfg.section_sort) sort_repolist("section"); -- cgit v1.2.1