summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
Unidiff
Diffstat (limited to 'ui-summary.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 42f4300..0a7869b 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -59,13 +59,13 @@ static void cgit_print_object_ref(struct object *obj)
59 else 59 else
60 page = "view"; 60 page = "view";
61 61
62 url = cgit_pageurl(cgit_query_repo, page, 62 url = cgit_pageurl(cgit_query_repo, page,
63 fmt("id=%s", sha1_to_hex(obj->sha1))); 63 fmt("id=%s", sha1_to_hex(obj->sha1)));
64 html_link_open(url, NULL, NULL); 64 html_link_open(url, NULL, NULL);
65 htmlf("%s %s", type_names[obj->type], 65 htmlf("%s %s", typename(obj->type),
66 sha1_to_hex(obj->sha1)); 66 sha1_to_hex(obj->sha1));
67 html_link_close(); 67 html_link_close();
68} 68}
69 69
70static int cgit_print_tag_cb(const char *refname, const unsigned char *sha1, 70static int cgit_print_tag_cb(const char *refname, const unsigned char *sha1,
71 int flags, void *cb_data) 71 int flags, void *cb_data)