Changed the logic to match the logic for bulleted steps

This commit is contained in:
Rich 2014-11-05 17:04:10 +00:00
parent fd96809f2a
commit 344b7f9ab7

View File

@ -972,7 +972,7 @@ namespace Volian.Print.Library
while (mypar != null && !mypar.IsProcedure)
{
string pTab = mypar.MyTab.CleanText.Trim();
if (char.IsLetterOrDigit(pTab[0]))
if (pTab.Length > 0 && char.IsLetterOrDigit(pTab[0]))
{
pTab = pTab.TrimEnd(" .".ToCharArray()) + ".";
prTab = pTab + prTab;