-rw-r--r-- | ui-commit.c | 2 | ||||
-rw-r--r-- | ui-diff.c | 9 | ||||
-rw-r--r-- | ui-tree.c | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/ui-commit.c b/ui-commit.c index 59eeb1d..6b135aa 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -105,3 +105,3 @@ void print_fileinfo(struct fileinfo *info) | |||
105 | (max_changes - info->removed - info->added) * 100.0 / max_changes); | 105 | (max_changes - info->removed - info->added) * 100.0 / max_changes); |
106 | html("</tr></table></a></td></tr>\n"); | 106 | html("</tr></table></td></tr>\n"); |
107 | } | 107 | } |
@@ -40,3 +40,2 @@ static void header(unsigned char *sha1, char *path1, int mode1, | |||
40 | subproject = (S_ISDIRLNK(mode1) || S_ISDIRLNK(mode2)); | 40 | subproject = (S_ISDIRLNK(mode1) || S_ISDIRLNK(mode2)); |
41 | html("<tr><td>"); | ||
42 | html("<div class='head'>"); | 41 | html("<div class='head'>"); |
@@ -104,4 +103,6 @@ void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, | |||
104 | html("<table class='diff'>"); | 103 | html("<table class='diff'>"); |
104 | html("<tr><td>"); | ||
105 | cgit_diff_commit(commit, filepair_cb); | 105 | cgit_diff_commit(commit, filepair_cb); |
106 | html("</td></tr></table>"); | 106 | html("</td></tr>"); |
107 | html("</table>"); | ||
107 | } | 108 | } |
@@ -129,3 +130,3 @@ void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, | |||
129 | cgit_print_error("Error running diff"); | 130 | cgit_print_error("Error running diff"); |
130 | html("</tr></td>"); | 131 | html("</td></tr>"); |
131 | break; | 132 | break; |
@@ -139,3 +140,3 @@ void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, | |||
139 | } | 140 | } |
140 | html("</td></tr></table>"); | 141 | html("</table>"); |
141 | } | 142 | } |
@@ -52,3 +52,3 @@ static int print_entry(const unsigned char *sha1, const char *base, | |||
52 | } | 52 | } |
53 | htmlf("'>%s</a></div></td>", name); | 53 | htmlf("'>%s</a></td>", name); |
54 | htmlf("<td class='filesize'>%li</td>", size); | 54 | htmlf("<td class='filesize'>%li</td>", size); |