X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a2b6b3717567a5b57a19d19ed89af324296f39a9..eeaffc33432d3cf91902cac3eab50c0598bdaa19:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 477a949..c2bcce1 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -99,7 +99,7 @@ static int is_in_url(struct cgit_repo *repo) { if (!ctx.qry.url) return 1; - if (repo->url && !prefixcmp(repo->url, ctx.qry.url)) + if (repo->url && starts_with(repo->url, ctx.qry.url)) return 1; return 0; }