summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_validate.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/man_validate.c b/man_validate.c
index 72a2d154..e02df1f9 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -289,9 +289,9 @@ static int
check_eline(CHKARGS)
{
- if ( ! (MAN_ELINE & m->flags))
- return(1);
- return(man_nerr(m, n, WLNSCOPE));
+ if (MAN_ELINE & m->flags)
+ return(man_nerr(m, n, WLNSCOPE));
+ return(1);
}
@@ -299,8 +299,10 @@ static int
check_bline(CHKARGS)
{
- if ( ! (MAN_BLINE & m->flags))
- return(1);
- return(man_nerr(m, n, WLNSCOPE));
+ if (MAN_BLINE & m->flags)
+ return(man_nerr(m, n, WLNSCOPE));
+ if (MAN_ELINE & m->flags)
+ return(man_nerr(m, n, WLNSCOPE));
+ return(1);
}