author | Ondrej Jirman <ondrej.jirman@zonio.net> | 2007-05-25 23:15:10 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-31 08:18:38 (UTC) |
commit | 1a63cfcc3d83919e790e7e279eb35fc75adb0e3c (patch) (unidiff) | |
tree | a2c613c6ae642dd6a4015142ccf04ed7c5629b8f /ui-log.c | |
parent | 0928d8827a714f3908efa7eb9eb4cde28761af26 (diff) | |
download | cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.zip cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.tar.gz cgit-1a63cfcc3d83919e790e7e279eb35fc75adb0e3c.tar.bz2 |
Use & instead of & in URLs.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,16 +113,16 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) | |||
113 | html("<div class='pager'>"); | 113 | html("<div class='pager'>"); |
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>"); |
128 | } | 128 | } |