From ac49c296cdbfb871d808c8dd1b221260257b9b75 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 13 Apr 2016 16:37:46 +0000 Subject: [PATCH] Fixed the TableSpaceAvailable logic (B2016-038) which made print think a table was taller than it actually was. --- PROMS/Volian.Print.Library/Pagination.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 54cc1004..acf0db0d 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -1367,9 +1367,9 @@ namespace Volian.Print.Library float retval = 0; if(_ChildrenBelow!= null) foreach (vlnParagraph pgh in _ChildrenBelow) - retval += pgh.TableSpaceAvailable; + retval = pgh.TableSpaceAvailable; if (MyGrid != null) - retval += MyGrid.SpaceAvailable; + retval = MyGrid.SpaceAvailable; return retval; } }