Unidiff1 files changed, 1 insertions, 2 deletions
|
diff --git a/ui-log.c b/ui-log.c index 0536b23..41b5225 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -227,10 +227,9 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern |
227 | free_commit_list(commit->parents); |
227 | free_commit_list(commit->parents); |
228 | commit->parents = NULL; |
228 | commit->parents = NULL; |
229 | } |
229 | } |
230 | if (pager) { |
230 | if (pager) { |
231 | htmlf("</table><div class='pager'>", |
231 | html("</table><div class='pager'>"); |
232 | columns); |
| |
233 | if (ofs > 0) { |
232 | if (ofs > 0) { |
234 | cgit_log_link("[prev]", NULL, NULL, ctx.qry.head, |
233 | cgit_log_link("[prev]", NULL, NULL, ctx.qry.head, |
235 | ctx.qry.sha1, ctx.qry.vpath, |
234 | ctx.qry.sha1, ctx.qry.vpath, |
236 | ofs - cnt, ctx.qry.grep, |
235 | ofs - cnt, ctx.qry.grep, |
|