]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Bump version.
[ps-cgit] / ui-repolist.c
index 477a9495f09d9b2cda9c26e292bb8f5398ddfbec..c2bcce177c23da9dabf9f5becbec3c71a0abc3c0 100644 (file)
@@ -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;
 }