diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-18 15:17:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-18 15:17:03 +0000 |
commit | b81e66843d26bb7ffa842efd9bd182a86d75a54e (patch) | |
tree | 9482371f91147d1f75d038e4825142aa46dcfd82 | |
parent | 85ab10047e438f3a86757208987f33f8f4625e66 (diff) | |
download | mandoc-b81e66843d26bb7ffa842efd9bd182a86d75a54e.tar.gz |
Unsurprisingly, zero-width non-breaking spaces have... width 0.
-rw-r--r-- | term_ascii.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/term_ascii.c b/term_ascii.c index 1c69a4eb..e9a66213 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -196,8 +196,7 @@ terminal_sepline(void *arg) static size_t ascii_width(const struct termp *p, int c) { - - return 1; + return c != ASCII_BREAK; } void |