* mandoc: Unsurprisingly, zero-width non-breaking spaces have...
@ 2018-08-18 15:17 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-08-18 15:17 UTC (permalink / raw)
To: source
Log Message:
-----------
Unsurprisingly, zero-width non-breaking spaces have... width 0.
Modified Files:
--------------
mandoc:
term_ascii.c
Revision Data
-------------
Index: term_ascii.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/term_ascii.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -Lterm_ascii.c -Lterm_ascii.c -u -p -r1.61 -r1.62
--- term_ascii.c
+++ 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
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-18 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-18 15:17 mandoc: Unsurprisingly, zero-width non-breaking spaces have schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).