]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
log: move layout into page function
[ps-cgit] / ui-tree.c
index bbc468ef7ec03395dfc04daa240e8c1330fcd41e..2dbe89ea4faef6b3ac35b9fa6d8aa9d30678f328 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -6,7 +6,6 @@
  *   (see COPYING for full license text)
  */
 
-#include <ctype.h>
 #include "cgit.h"
 #include "ui-tree.h"
 #include "html.h"
@@ -166,7 +165,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base,
        html("<td>");
        cgit_log_link("log", NULL, "button", ctx.qry.head,
                      walk_tree_ctx->curr_rev, fullpath.buf, 0, NULL, NULL,
-                     ctx.qry.showmsg);
+                     ctx.qry.showmsg, 0);
        if (ctx.repo->max_stats)
                cgit_stats_link("stats", NULL, "button", ctx.qry.head,
                                fullpath.buf);