source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: The macro SCALE_HS_INIT() is always passed the result of
@ 2014-08-12 19:28 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-08-12 19:28 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-12 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12 19:28 mdocml: The macro SCALE_HS_INIT() is always passed the result of schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).