White space around control verbs.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2013-03-03 23:21:33 -05:00
szülő 53bc747d31
commit bdae1d8a8d
16 fájl változott, egészen pontosan 42 új sor hozzáadva és 42 régi sor törölve

Fájl megtekintése

@ -129,7 +129,7 @@ void print_pager(int items, int pagelen, char *search, char *sort)
int i, ofs;
char *class = NULL;
html("<div class='pager'>");
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");