fixed wrong link in tree view

gopher
KatolaZ 7 years ago
parent 01ad42372f
commit 2b4c869a99
  1. 2
      ui_70-tree.c

@ -121,7 +121,7 @@ static void write_tree_link(const struct object_id *oid, char *name,
oidcpy(&tree_ctx.oid, oid); oidcpy(&tree_ctx.oid, oid);
while (tree_ctx.count == 1) { while (tree_ctx.count == 1) {
cgit_tree_link(name, NULL, "ls-dir", ctx.qry.head, rev, cgit_gopher_tree_link(name, NULL, "ls-dir", ctx.qry.head, rev,
fullpath->buf); fullpath->buf);
tree = lookup_tree(&tree_ctx.oid); tree = lookup_tree(&tree_ctx.oid);

Loading…
Cancel
Save