]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
readme: use string_list instead of space deliminations
[ps-cgit] / ui-shared.c
index 519eef7102c4d61a960620bc587917027656da3d..7ab2ab187d5f3cc9ce6e835c72ab2f47af2ef13e 100644 (file)
@@ -864,7 +864,7 @@ void cgit_print_pageheader(struct cgit_context *ctx)
                if (ctx->repo->max_stats)
                        cgit_stats_link("stats", NULL, hc(ctx, "stats"),
                                        ctx->qry.head, ctx->qry.vpath);
-               if (ctx->repo->readme)
+               if (ctx->repo->readme.nr)
                        reporevlink("about", "about", NULL,
                                    hc(ctx, "about"), ctx->qry.head, NULL,
                                    NULL);