From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7CJS3SL013850 for ; Tue, 12 Aug 2014 15:28:03 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s7CJS35A010696; Tue, 12 Aug 2014 15:28:03 -0400 (EDT) Date: Tue, 12 Aug 2014 15:28:03 -0400 (EDT) Message-Id: <201408121928.s7CJS35A010696@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: The macro SCALE_HS_INIT() is always passed the result of X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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. Modified Files: -------------- mdocml: out.h Revision Data ------------- Index: out.h =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/out.h,v retrieving revision 1.22 retrieving revision 1.23 diff -Lout.h -Lout.h -u -p -r1.22 -r1.23 --- out.h +++ 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) -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv