summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
Unidiff
Diffstat (limited to 'ui-shared.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c
index f858ab6..1e12529 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -648,10 +648,10 @@ void cgit_print_pageheader(struct cgit_context *ctx)
648 NULL); 648 NULL);
649 html("</td><td class='form'>"); 649 html("</td><td class='form'>");
650 html("<form class='right' method='get' action='"); 650 html("<form class='right' method='get' action='");
651 if (ctx->cfg.virtual_root) 651 if (ctx->cfg.virtual_root)
652 html_attr(cgit_fileurl(ctx->qry.repo, "log", 652 html_url_path(cgit_fileurl(ctx->qry.repo, "log",
653 ctx->qry.path, NULL)); 653 ctx->qry.path, NULL));
654 html("'>\n"); 654 html("'>\n");
655 add_hidden_formfields(1, 0, "log"); 655 add_hidden_formfields(1, 0, "log");
656 html("<select name='qt'>\n"); 656 html("<select name='qt'>\n");
657 html_option("grep", "log msg", ctx->qry.grep); 657 html_option("grep", "log msg", ctx->qry.grep);