diff options
context:
space:
mode:
Diffstat (limited to 'source/cmd.c')
-rw-r--r--source/cmd.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/cmd.c b/source/cmd.c
index 2c6406f..a19aa50 100644
--- a/source/cmd.c
+++ b/source/cmd.c
@@ -212,7 +212,7 @@ const struct cgit_cmd *cgit_get_cmd(void)
{
size_t i;
- if (ctx.qry.page == NULL) {
+ if (!ctx.qry.page) {
if (ctx.repo)
ctx.qry.page = "summary";
else