artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e77ba
)
Unsurprisingly, zero-width non-breaking spaces have... width 0.
author
schwarze
<schwarze@openbsd.org>
Sat, 18 Aug 2018 15:16:05 +0000
(15:16 +0000)
committer
schwarze
<schwarze@openbsd.org>
Sat, 18 Aug 2018 15:16:05 +0000
(15:16 +0000)
usr.bin/mandoc/term_ascii.c
patch
|
blob
|
history
diff --git
a/usr.bin/mandoc/term_ascii.c
b/usr.bin/mandoc/term_ascii.c
index
3e4eacc
..
481e0e5
100644
(file)
--- a/
usr.bin/mandoc/term_ascii.c
+++ b/
usr.bin/mandoc/term_ascii.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: term_ascii.c,v 1.4
6 2018/05/20 21:37:11
schwarze Exp $ */
+/* $OpenBSD: term_ascii.c,v 1.4
7 2018/08/18 15:16:05
schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@
-184,8
+184,7
@@
terminal_sepline(void *arg)
static size_t
ascii_width(const struct termp *p, int c)
{
-
- return 1;
+ return c != ASCII_BREAK;
}
void