summaryrefslogtreecommitdiffabout
path: root/ui-diff.c
Side-by-side diff
Diffstat (limited to 'ui-diff.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-diff.c b/ui-diff.c
index 3c4d52a..5c864d9 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -105,8 +105,10 @@ void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex,
if (commit && !parse_commit(commit))
cgit_diff_commit(commit, filepair_cb);
else
cgit_print_error(fmt("Bad commit: %s", head));
+ html("</td></tr>");
+ html("</table>");
return;
}
get_sha1(old_hex, sha1);