diff options
Diffstat (limited to 'ui-log.c')
| -rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -114,14 +114,14 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) | |||
| 114 | if (ofs > 0) { | 114 | if (ofs > 0) { |
| 115 | html(" <a href='"); | 115 | html(" <a href='"); |
| 116 | html(cgit_pageurl(cgit_query_repo, cgit_query_page, | 116 | html(cgit_pageurl(cgit_query_repo, cgit_query_page, |
| 117 | fmt("h=%s&ofs=%d", tip, ofs-cnt))); | 117 | fmt("h=%s&ofs=%d", tip, ofs-cnt))); |
| 118 | html("'>[prev]</a> "); | 118 | html("'>[prev]</a> "); |
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | if ((commit = get_revision(&rev)) != NULL) { | 121 | if ((commit = get_revision(&rev)) != NULL) { |
| 122 | html(" <a href='"); | 122 | html(" <a href='"); |
| 123 | html(cgit_pageurl(cgit_query_repo, "log", | 123 | html(cgit_pageurl(cgit_query_repo, "log", |
| 124 | fmt("h=%s&ofs=%d", tip, ofs+cnt))); | 124 | fmt("h=%s&ofs=%d", tip, ofs+cnt))); |
| 125 | html("'>[next]</a> "); | 125 | html("'>[next]</a> "); |
| 126 | } | 126 | } |
| 127 | html("</div>"); | 127 | html("</div>"); |
