]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
Introduce html.h
[ps-cgit] / ui-tree.c
index df05ad30171d22ce8f162e53beb8d41ae77036af..79127840e0f029d3ae8c4ef2bf8c5b417f1cfda9 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -7,6 +7,7 @@
  */
 
 #include "cgit.h"
+#include "html.h"
 
 char *curr_rev;
 char *match_path;
@@ -79,7 +80,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
        }
 
        html("<tr><td class='ls-mode'>");
-       html_filemode(mode);
+       cgit_print_filemode(mode);
        html("</td><td>");
        if (S_ISGITLINK(mode)) {
                htmlf("<a class='ls-mod' href='");