]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
ui-patch.c: Fix signature delimiter
[ps-cgit] / ui-repolist.c
index 47ca997883923222c4797ed1c20b59348abe2058..2ab6e9e41cca24fa9a2e3ad17682090cfc592e20 100644 (file)
@@ -332,9 +332,13 @@ void cgit_print_site_readme()
 {
        if (!ctx.cfg.root_readme)
                return;
-       if (ctx.cfg.about_filter)
+       if (ctx.cfg.about_filter) {
+               ctx.cfg.about_filter->argv[1] = ctx.cfg.root_readme;
                cgit_open_filter(ctx.cfg.about_filter);
+       }
        html_include(ctx.cfg.root_readme);
-       if (ctx.cfg.about_filter)
+       if (ctx.cfg.about_filter) {
                cgit_close_filter(ctx.cfg.about_filter);
+               ctx.cfg.about_filter->argv[1] = NULL;
+       }
 }