summaryrefslogtreecommitdiffstats
path: root/out.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-12 19:28:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-12 19:28:03 +0000
commitfee7d438fca8e6b0fb1769947f90f198a69ad3f0 (patch)
tree379084d1afadf0e933155db34fa337c8d2c93493 /out.h
parentba9c8fa4f7d85bc8e10e817828f80b0b6daa1473 (diff)
downloadmandoc-fee7d438fca8e6b0fb1769947f90f198a69ad3f0.tar.gz
The macro SCALE_HS_INIT() is always passed the result of strlen() or
an equivalent number as its argument, and strlen() measures the width of a string in characters, not in basic units. No functional change right now, but important for the upcoming scaling unit fixes.
Diffstat (limited to 'out.h')
-rw-r--r--out.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/out.h b/out.h
index 0bf9e9c0..12a2f43f 100644
--- a/out.h
+++ b/out.h
@@ -59,7 +59,7 @@ __BEGIN_DECLS
while (/* CONSTCOND */ 0)
#define SCALE_HS_INIT(p, v) \
- do { (p)->unit = SCALE_BU; \
+ do { (p)->unit = SCALE_EN; \
(p)->scale = (v); } \
while (/* CONSTCOND */ 0)