From 2b4c869a99a093a785cdf83539711d98a0d5c604 Mon Sep 17 00:00:00 2001
From: KatolaZ <katolaz@freaknet.org>
Date: Mon, 30 Jul 2018 11:40:26 +0100
Subject: fixed wrong link in tree view

---
 ui_70-tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui_70-tree.c b/ui_70-tree.c
index 81383b8..8509322 100644
--- a/ui_70-tree.c
+++ b/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);
 
 	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);
 
 		tree = lookup_tree(&tree_ctx.oid);
-- 
cgit v1.2.3