From c0cdee90b6502832f09d19882e8d48347eb1f587 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 8 Jun 2018 15:41:11 +0000 Subject: [PATCH] B2018-084: Continue message had a character 0xCF in place of a bullet. --- PROMS/Volian.Print.Library/vlnParagraph.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index dcc0c7ce..525cf987 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -1456,7 +1456,10 @@ namespace Volian.Print.Library ItemInfo itemInfo = tmp; if (itemInfo.IsCautionOrNotePart) itemInfo = itemInfo.ActiveParent as ItemInfo; // if caution/note get to its associated step itemInfo = itemInfo.ActiveParent as ItemInfo; // don't want this one in the combined tab, start at parent - if (!itemInfo.IsHigh && !itemInfo.IsSequential && !itemInfo.IsSection) itemInfo = itemInfo.ActiveParent as ItemInfo; + // B2018-084: continue message had bullets in it that didn't have correct font. The message should not have had bullets at + // all - in the following line, there was an 'if' rather than a 'while' - go up parents until find the correct step type + // don't just go up 1 level. + while (!itemInfo.IsHigh && !itemInfo.IsSequential && !itemInfo.IsSection) itemInfo = itemInfo.ActiveParent as ItemInfo; string prTab = ""; string thisTab = itemInfo.MyTab.CleanText.Trim(); if (!itemInfo.IsSection || itemInfo.IsSeparateSubsection)