diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 09:13:21 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 09:13:21 +0000 |
commit | de9d726f42e5bca85bab714aa92b7c960af11d8d (patch) | |
tree | c21931f1f383e3b9b1755581fbeb074079ba4a87 /libmdoc.h | |
parent | 4e77eec7877b4596d834d751802818b28cf9ebc0 (diff) | |
download | mandoc-de9d726f42e5bca85bab714aa92b7c960af11d8d.tar.gz |
Fixed mdoc_nwarn/mdoc_nerr considering themselves err/warn instead of warn/err (BIG mistake). From suggestion by <joerg@netbsd.org>.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -123,9 +123,9 @@ __BEGIN_DECLS #define mdoc_pwarn(m, l, p, t) \ mdoc_err((m), (l), (p), 0, (t)) #define mdoc_nerr(m, n, t) \ - mdoc_err((m), (n)->line, (n)->pos, 0, (t)) -#define mdoc_nwarn(m, n, t) \ mdoc_err((m), (n)->line, (n)->pos, 1, (t)) +#define mdoc_nwarn(m, n, t) \ + mdoc_err((m), (n)->line, (n)->pos, 0, (t)) int mdoc_err(struct mdoc *, int, int, int, enum merr); int mdoc_verr(struct mdoc *, int, int, const char *, ...); |