]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
Add parameter to adjust max message length in log listings
[ps-cgit] / ui-summary.c
index 04d491269e305c01563b051553e350c9aca0367b..5518d011d8156572255290126741dca74aab0fbf 100644 (file)
@@ -33,7 +33,7 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1,
                url = cgit_pageurl(cgit_query_repo, "commit", 
                                   fmt("id=%s", sha1_to_hex(sha1)));
                html_link_open(url, NULL, NULL);
-               html_ntxt(80, info->subject);
+               html_ntxt(cgit_max_msg_len, info->subject);
                html_link_close();
                html("</td></tr>\n");
                cgit_free_commitinfo(info);