diff --git a/main.c b/main.c index af2e98a..b48e882 100644 --- a/main.c +++ b/main.c @@ -97,7 +97,7 @@ struct curparse { static const char * const mandocerrs[MANDOCERR_MAX] = { "ok", "text should be uppercase", - "sections out of conentional order", + "sections out of conventional order", "section name repeats", "out of order prologue", "repeated prologue entry", @@ -111,7 +111,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "superfluous width argument", "bad date argument", "bad width argument", - "unknown manual sction", + "unknown manual section", "section not in conventional manual section", "end of line whitespace", "scope open on exit", diff --git a/mandoc.h b/mandoc.h index f6203c5..2fc0807 100644 --- a/mandoc.h +++ b/mandoc.h @@ -26,7 +26,7 @@ __BEGIN_DECLS enum mandocerr { MANDOCERR_OK, MANDOCERR_UPPERCASE, /* text should be uppercase */ - MANDOCERR_SECOOO, /* sections out of conentional order */ + MANDOCERR_SECOOO, /* sections out of conventional order */ MANDOCERR_SECREP, /* section name repeats */ MANDOCERR_PROLOGOOO, /* out of order prologue */ MANDOCERR_PROLOGREP, /* repeated prologue entry */ @@ -40,7 +40,7 @@ enum mandocerr { MANDOCERR_WIDTHARG, /* superfluous width argument */ MANDOCERR_BADDATE, /* bad date argument */ MANDOCERR_BADWIDTH, /* bad width argument */ - MANDOCERR_BADMSEC, /* unknown manual sction */ + MANDOCERR_BADMSEC, /* unknown manual section */ MANDOCERR_SECMSEC, /* section not in conventional manual section */ MANDOCERR_EOLNSPACE, /* end of line whitespace */ MANDOCERR_SCOPEEXIT, /* scope open on exit */