diff options
author | 2014-08-12 19:28:16 +0000 | |
---|---|---|
committer | 2014-08-12 19:28:16 +0000 | |
commit | 36bf94232a5cacc4ff8dd748691cee8af98319d0 (patch) | |
tree | b373cb519e67725fdef9eee44a0398b2daae79a4 | |
parent | 48a95d79260bbe4a81a5b05195c50a30aca56862 (diff) | |
download | mandoc-36bf94232a5cacc4ff8dd748691cee8af98319d0.tar.gz mandoc-36bf94232a5cacc4ff8dd748691cee8af98319d0.tar.zst mandoc-36bf94232a5cacc4ff8dd748691cee8af98319d0.zip |
In mdoc(7) and man(7), if a width is given as a bare number without
specifying a unit, the implied unit is 'n' (on the terminal, one
character position; in PostScript, half of the current font size
in points), not 'u' (roff output device basic unit). No functional
change right now, but important for the upcoming scaling unit fixes.
-rw-r--r-- | out.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.50 2014/08/10 23:54:41 schwarze Exp $ */ +/* $Id: out.c,v 1.51 2014/08/12 19:28:16 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -110,7 +110,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def) case '\0': if (SCALE_MAX == def) return(0); - unit = SCALE_BU; + unit = SCALE_EN; break; case 'u': unit = SCALE_BU; |