aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-30 10:18:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-30 10:18:24 +0000
commitcd17b00c20e30495d03c7e53adc3740d7be9b3cd (patch)
tree05fc00631845dc924160e46cd392671d457c8114 /mdoc_macro.c
parent2c7598fb3afef5b096dd6c18a5699704287f6d0d (diff)
downloadmandoc-cd17b00c20e30495d03c7e53adc3740d7be9b3cd.tar.gz
mandoc-cd17b00c20e30495d03c7e53adc3740d7be9b3cd.tar.zst
mandoc-cd17b00c20e30495d03c7e53adc3740d7be9b3cd.zip
No code change: fixing spelling errors. From a patch by uqs@. Thanks!
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 472a55f2..03d1b91c 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.108 2011/04/25 00:03:07 schwarze Exp $ */
+/* $Id: mdoc_macro.c,v 1.109 2011/04/30 10:18:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -643,12 +643,12 @@ append_delims(struct mdoc *m, int line, int *pos, char *buf)
* If we encounter end-of-sentence symbols, then trigger
* the double-space.
*
- * XXX: it's easy to allow this to propogate outward to
+ * XXX: it's easy to allow this to propagate outward to
* the last symbol, such that `. )' will cause the
* correct double-spacing. However, (1) groff isn't
* smart enough to do this and (2) it would require
* knowing which symbols break this behaviour, for
- * example, `. ;' shouldn't propogate the double-space.
+ * example, `. ;' shouldn't propagate the double-space.
*/
if (mandoc_eos(p, strlen(p), 0))
m->last->flags |= MDOC_EOS;
@@ -1007,7 +1007,7 @@ blk_full(MACRO_PROT_ARGS)
}
/*
- * This routine accomodates implicitly- and explicitly-scoped
+ * This routine accommodates implicitly- and explicitly-scoped
* macro openings. Implicit ones first close out prior scope
* (seen above). Delay opening the head until necessary to
* allow leading punctuation to print. Special consideration
@@ -1304,7 +1304,7 @@ blk_part_imp(MACRO_PROT_ARGS)
if (mandoc_eos(n->string, strlen(n->string), 1))
n->flags |= MDOC_EOS;
- /* Up-propogate the end-of-space flag. */
+ /* Up-propagate the end-of-space flag. */
if (n && (MDOC_EOS & n->flags)) {
body->flags |= MDOC_EOS;