Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ui-shared.c b/ui-shared.c index a03661a..1d66940 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -194,7 +194,7 @@ void cgit_tree_link(char *name, char *title, char *class, char *head, } void cgit_log_link(char *name, char *title, char *class, char *head, - char *rev, char *path, int ofs, char *grep, char *pattern) + char *rev, char *path, int ofs) { char *delim; @@ -205,15 +205,6 @@ void cgit_log_link(char *name, char *title, char *class, char *head, html_attr(rev); delim = "&"; } - if (grep && pattern) { - html(delim); - html("qt="); - html_attr(grep); - delim = "&"; - html(delim); - html("q="); - html_attr(pattern); - } if (ofs > 0) { html(delim); html("ofs="); @@ -470,7 +461,7 @@ void cgit_print_pageheader(char *title, int show_search) reporevlink(NULL, "summary", NULL, "menu", cgit_query_head, NULL, NULL); cgit_log_link("log", NULL, "menu", cgit_query_head, - cgit_query_sha1, cgit_query_path, 0, NULL, NULL); + cgit_query_sha1, cgit_query_path, 0); cgit_tree_link("tree", NULL, "menu", cgit_query_head, cgit_query_sha1, NULL); cgit_commit_link("commit", NULL, "menu", cgit_query_head, |