aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-log.c b/ui-log.c
index ad2f5fc..657ff3c 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -56,11 +56,11 @@ static void inspect_files(struct diff_filepair *pair)
56 56
57void show_commit_decorations(struct commit *commit) 57void show_commit_decorations(struct commit *commit)
58{ 58{
59 struct name_decoration *deco; 59 const struct name_decoration *deco;
60 static char buf[1024]; 60 static char buf[1024];
61 61
62 buf[sizeof(buf) - 1] = 0; 62 buf[sizeof(buf) - 1] = 0;
63 deco = lookup_decoration(&name_decoration, &commit->object); 63 deco = get_name_decoration(&commit->object);
64 html("<span class='decoration'>"); 64 html("<span class='decoration'>");
65 while (deco) { 65 while (deco) {
66 if (starts_with(deco->name, "refs/heads/")) { 66 if (starts_with(deco->name, "refs/heads/")) {