diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-12 19:28:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-12 19:28:03 +0000 |
commit | fee7d438fca8e6b0fb1769947f90f198a69ad3f0 (patch) | |
tree | 379084d1afadf0e933155db34fa337c8d2c93493 /out.h | |
parent | ba9c8fa4f7d85bc8e10e817828f80b0b6daa1473 (diff) | |
download | mandoc-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |