X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1..0bb34ef130f05b865ee2a34d196ea6352590f673:/ui-shared.c?ds=inline diff --git a/ui-shared.c b/ui-shared.c index 07c78a5..0c6ca60 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -10,6 +10,7 @@ #include "ui-shared.h" #include "cmd.h" #include "html.h" +#include "version.h" static const char cgit_doctype[] = "\n"; @@ -545,7 +546,7 @@ void cgit_object_link(struct object *obj) page = "tag"; else page = "blob"; - name = fmt("%s %s...", typename(obj->type), shortrev); + name = fmt("%s %s...", type_name(obj->type), shortrev); reporevlink(page, name, NULL, NULL, ctx.qry.head, fullrev, NULL); } @@ -785,8 +786,8 @@ void cgit_print_docend(void) if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("