]> git.cameronkatri.com Git - cgit.git/blobdiff - cmd.c
ui-repolist: do not return unsigned (negative) value
[cgit.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index 63f0ae54695bfb714fbdd2f150751baab6b5bf44..bf6d8f516fe0263aa50a5b13348f39befabe01e4 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -66,7 +66,7 @@ static void about_fn(void)
 
 static void blame_fn(void)
 {
-       if (ctx.cfg.enable_blame)
+       if (ctx.repo->enable_blame)
                cgit_print_blame();
        else
                cgit_print_error_page(403, "Forbidden", "Blame is disabled");