From bc5bdfe75f402d4895281feb4c8686080b897de6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Nov 2010 18:59:01 +0000 Subject: [PATCH] slopecalc: get abs interpolations right --- layout/slopecalc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/slopecalc b/layout/slopecalc index cc1f794..40eb543 100755 --- a/layout/slopecalc +++ b/layout/slopecalc @@ -171,7 +171,8 @@ sub parse_args () { sub lprint_interp ($$$$) { my ($l_more,$l,$y,$cc) = @_; - lprintf(" %4s %7d %8.2f %s", "+$l_more", $l, $y, $cc); + lprintf(" %4s %7d %8.2f %s", + "+$l_more", $l - $absoffset, $y, $cc); } sub dump_schedule ($) { -- 2.30.2