diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:23:55 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:23:55 +0000 |
commit | 3fda22a3295512e8e8f926289401b1e249ab3b40 (patch) | |
tree | a71a50d2c487e193a5e4588f5d804f766536be28 | |
parent | 47a3a2b11dd9c321362d7104337e82cb7170da95 (diff) | |
download | mandoc-3fda22a3295512e8e8f926289401b1e249ab3b40.tar.gz |
Removed isspace assertion (is handled by pad).
-rw-r--r-- | mdocterm.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -173,9 +173,10 @@ flushln(struct termp *p) for (i = 0; i < p->col; i++) { /* * Count up visible word characters. Control sequences - * (starting with the CSI) aren't counted. + * (starting with the CSI) aren't counted. A space + * generates a non-printing word, which is valid (the + * space is printed according to regular spacing rules). */ - assert( ! xisspace(p->buf[i])); /* LINTED */ for (j = i, vsz = 0; j < p->col; j++) { @@ -187,7 +188,6 @@ flushln(struct termp *p) } else vsz++; } - assert(vsz > 0); /* * If we're breaking normally... @@ -499,8 +499,6 @@ pword(struct termp *p, const char *word, size_t len) { size_t i; - /*assert(len > 0);*/ /* Can be, if literal. */ - /* * Handle pwords, partial words, which may be either a single * word or a phrase that cannot be broken down (such as a |