summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 18:23:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 18:23:37 +0000
commit2a48f78da8bb430cb5844acbc1149ebb10dc9055 (patch)
treea77aa3dc3c4fb17c9999930b1dc180faca0ba1c3 /out.c
parent29dca53ec230c4b598c402ca964e308ca2dd627f (diff)
downloadmandoc-2a48f78da8bb430cb5844acbc1149ebb10dc9055.tar.gz
let \l use the right fill character
Diffstat (limited to 'out.c')
-rw-r--r--out.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/out.c b/out.c
index e8916b5e..2dc09900 100644
--- a/out.c
+++ b/out.c
@@ -85,10 +85,8 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def)
case 'v':
dst->unit = SCALE_VS;
break;
- case '\0':
- endptr--;
- /* FALLTHROUGH */
default:
+ endptr--;
if (SCALE_MAX == def)
return NULL;
dst->unit = def;