From: Ingo Schwarze Date: Mon, 24 May 2010 01:41:31 +0000 (+0000) Subject: fix an obvious oversight introduced in rev. 1.5: X-Git-Tag: VERSION_1_10_1~88 X-Git-Url: https://git.cameronkatri.com/mandoc.git/commitdiff_plain/284fd60184af10ebddfefe0094be27494174be92 fix an obvious oversight introduced in rev. 1.5: MANDOCERR_BODYLOST is not intended to be fatal; required to unbreak the OpenBSD build --- diff --git a/mandoc.h b/mandoc.h index 36a39411..e8c4dd60 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.5 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.6 2010/05/24 01:41:31 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -72,7 +72,7 @@ enum mandocerr { MANDOCERR_NOTITLE, /* no title in document */ MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ MANDOCERR_BODYLOST, /* body argument(s) will be lost */ -#define MANDOCERR_ERROR MANDOCERR_ARGSLOST +#define MANDOCERR_ERROR MANDOCERR_BODYLOST /* FIXME: this should be a MANDOCERR_ERROR */ MANDOCERR_FONTTYPE, /* missing font type */