summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2023-04-28 19:11:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2023-04-28 19:11:03 +0000
commit0b0554bfc6a91450265f23d89c425a979a42d366 (patch)
treec3ac22e69ac3dc9ca9aacfb48dafea95a2114158 /roff.c
parentf6a5ecf0a6ad2ae347cd6feb5ff6eefafbe8631f (diff)
downloadmandoc-0b0554bfc6a91450265f23d89c425a979a42d366.tar.gz
spelling fixes from Paul Tagliamonte via tech@ and jmc@
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 47ea41b5..38d129ea 100644
--- a/roff.c
+++ b/roff.c
@@ -1449,7 +1449,7 @@ roff_expand(struct roff *r, struct buf *buf, int ln, int pos, char ec)
break;
/*
- * If not overriden,
+ * If not overridden,
* let \*(.T through to the formatters.
*/
@@ -2479,7 +2479,7 @@ roff_getnum(const char *v, int *pos, int *res, int flags)
* Evaluate a string comparison condition.
* The first character is the delimiter.
* Succeed if the string up to its second occurrence
- * matches the string up to its third occurence.
+ * matches the string up to its third occurrence.
* Advance the cursor after the third occurrence
* or lacking that, to the end of the line.
*/
@@ -4371,7 +4371,7 @@ roff_getformat(const struct roff *r)
* return zero and don't change the current position.
* If the control character has been set with `.cc', then let that grain
* precedence.
- * This is slighly contrary to groff, where using the non-breaking
+ * This is slightly contrary to groff, where using the non-breaking
* control character when `cc' has been invoked will cause the
* non-breaking macro contents to be printed verbatim.
*/