]> git.cameronkatri.com Git - mandoc.git/blobdiff - roff_validate.c
Simplify the roff(7) .ce and .rj terminal formatter by using the
[mandoc.git] / roff_validate.c
index 8d964333a7744c877315ee5de647062e0ddc6837..9080f28797afd247eac3c1ed2edf87559067c649 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: roff_validate.c,v 1.17 2018/12/31 08:38:21 schwarze Exp $ */
+/*     $Id: roff_validate.c,v 1.18 2018/12/31 09:02:37 schwarze Exp $ */
 /*
  * Copyright (c) 2010, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
  *
@@ -120,7 +120,7 @@ roff_valid_ft(ROFF_VALID_ARGS)
 static void
 roff_valid_nf(ROFF_VALID_ARGS)
 {
-       if (man->flags & ROFF_NOFILL)
+       if (n->flags & NODE_NOFILL)
                mandoc_msg(MANDOCERR_NF_SKIP, n->line, n->pos, "nf");
 }