diff options
Diffstat (limited to 'ui-atom.c')
-rw-r--r-- | ui-atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ static void add_entry(struct commit *commit, const char *host) | |||
19 | struct commitinfo *info; | 19 | struct commitinfo *info; |
20 | 20 | ||
21 | info = cgit_parse_commit(commit); | 21 | info = cgit_parse_commit(commit); |
22 | hex = sha1_to_hex(commit->object.sha1); | 22 | hex = oid_to_hex(&commit->object.oid); |
23 | html("<entry>\n"); | 23 | html("<entry>\n"); |
24 | html("<title>"); | 24 | html("<title>"); |
25 | html_txt(info->subject); | 25 | html_txt(info->subject); |