summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 14:54:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 14:54:37 +0000
commitb1e26b5baa5f13c733e92a965267db9c19e67450 (patch)
treee239e756ea662ef5075dfae94c2c9ecc0bf25a03
parent13a83155f6409b661fc63fad89e4f0f88094ca1a (diff)
downloadmandoc-b1e26b5baa5f13c733e92a965267db9c19e67450.tar.gz
Spelling patches provided by Ulrich Spoerlein.
-rw-r--r--main.c4
-rw-r--r--mandoc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 047b08e3..129675aa 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",
@@ -110,7 +110,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 bf11985a..79776202 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 */
@@ -39,7 +39,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 */