diff options
| author | 2020-02-13 16:16:03 +0000 | |
|---|---|---|
| committer | 2020-02-13 16:16:03 +0000 | |
| commit | 0c1d2fccbc5e53d554e66d4c95f81ab20d2549fa (patch) | |
| tree | 6945e273a86ac4df7568f9d639fb185578085c30 /usr.bin/mandoc/chars.c | |
| parent | Two longjmp(3) vs volatile fixes and improvements (diff) | |
| download | wireguard-openbsd-0c1d2fccbc5e53d554e66d4c95f81ab20d2549fa.tar.xz wireguard-openbsd-0c1d2fccbc5e53d554e66d4c95f81ab20d2549fa.zip | |
Digit-width and narrow spaces are non-breaking.
Noticed because Branden Robinson worked on related documentation in groff.
Diffstat (limited to 'usr.bin/mandoc/chars.c')
| -rw-r--r-- | usr.bin/mandoc/chars.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/mandoc/chars.c b/usr.bin/mandoc/chars.c index 13ccc6ba119..dc691b548e7 100644 --- a/usr.bin/mandoc/chars.c +++ b/usr.bin/mandoc/chars.c @@ -1,7 +1,8 @@ -/* $OpenBSD: chars.c,v 1.48 2018/12/15 19:30:19 schwarze Exp $ */ +/* $OpenBSD: chars.c,v 1.49 2020/02/13 16:16:03 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2011,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2011, 2014, 2015, 2017, 2018, 2020 + * Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -45,7 +46,7 @@ static struct ln lines[] = { /* Spacing. */ { " ", ascii_nbrsp, 0x00a0 }, { "~", ascii_nbrsp, 0x00a0 }, - { "0", " ", 0x2002 }, + { "0", ascii_nbrsp, 0x00a0 }, { ":", ascii_break, 0 }, /* Lines. */ |
