aboutsummaryrefslogtreecommitdiffstats
path: root/ui-refs.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-03-05 15:42:14 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 21:08:32 +0100
commitef8a97d9c6983e4fc3710bdbe771edd4e3550dba (patch)
tree548ea4fda8fd0ed467895de2629ea3ea587143a1 /ui-refs.c
parent6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a (diff)
downloadcgit-ef8a97d9c6983e4fc3710bdbe771edd4e3550dba.tar.gz
cgit-ef8a97d9c6983e4fc3710bdbe771edd4e3550dba.tar.xz
Fix colspan values
This fixes a couple of minor oversights in previous commits and adjusts all cells using colspan to use the correct width. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-refs.c')
-rw-r--r--ui-refs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-refs.c b/ui-refs.c
index e89f836..45db2ac 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -177,7 +177,7 @@ static int print_tag(struct refinfo *ref)
static void print_refs_link(char *path)
{
- html("<tr class='nohover'><td colspan='4'>");
+ html("<tr class='nohover'><td colspan='5'>");
cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path);
html("</td></tr>");
}
@@ -252,7 +252,7 @@ void cgit_print_refs()
cgit_print_tags(0);
else {
cgit_print_branches(0);
- html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
+ html("<tr class='nohover'><td colspan='5'>&nbsp;</td></tr>");
cgit_print_tags(0);
}
html("</table>");