Fixed the TableSpaceAvailable logic (B2016-038) which made print think a table was taller than it actually was.

This commit is contained in:
jjenko committed 2016-04-13 16:37:46 +00:00
1 parent c72522730c
commit ac49c296cd
1 file changed
+2 -2
+2 -2
View File
@@ -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;
}
}