B2017-203: missing End message if continuous subsections & 2 sections’ end message on same page

This commit is contained in:
2017-09-12 13:02:48 +00:00
parent 8fd0230aa0
commit c87ec88245
4 changed files with 24 additions and 17 deletions

View File

@@ -204,7 +204,7 @@ namespace Volian.Print.Library
{
// see if there is an end message. This is stored in the helper - if there is,
// we need to be sure that there is room for it.
if (MyPageHelper.BottomMessage != null)
if (MyPageHelper.BottomMessage != null && MyPageHelper.BottomMessage.Count != 0)
{
if (mySize + yEndMsg <= yWithinMargins) return 1;
}