From 48a95d79260bbe4a81a5b05195c50a30aca56862 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 12 Aug 2014 19:28:03 +0000 Subject: 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. --- out.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'out.h') diff --git a/out.h b/out.h index 514db3fe..a1133ede 100644 --- a/out.h +++ b/out.h @@ -1,4 +1,4 @@ -/* $Id: out.h,v 1.22 2014/04/20 16:46:05 schwarze Exp $ */ +/* $Id: out.h,v 1.23 2014/08/12 19:28:03 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -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) -- cgit v1.2.3