aboutsummaryrefslogtreecommitdiffstats
path: root/z12.c
diff options
context:
space:
mode:
Diffstat (limited to 'z12.c')
-rw-r--r--z12.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/z12.c b/z12.c
index 432c269..001afe2 100644
--- a/z12.c
+++ b/z12.c
@@ -1,7 +1,7 @@
/*@z12.c:Size Finder:MinSize()@***********************************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.31) */
-/* COPYRIGHT (C) 1991, 2005 Jeffrey H. Kingston */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.32) */
+/* COPYRIGHT (C) 1991, 2006 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* School of Information Technologies */
@@ -974,8 +974,12 @@ OBJECT MinSize(OBJECT x, int dim, OBJECT *extras)
/* append a gap to res (recycle g) */
MoveLink(Up(g), res, PARENT);
GapCopy(gap(g), line_gap(save_style(x)));
+ /* *** old formula before blanklinescale
width(gap(g)) *= find_max(1, vspace(g));
-
+ *** */
+ if( vspace(g) > 1 )
+ width(gap(g)) +=
+ (width(gap(g))*blanklinescale(save_style(x))*(vspace(g)-1))/SF;
}
NextDefiniteWithGap(x, link, y, g, jn);
}