if format has DSS_AddDotZeroStdHLS and going to a High Level Step, don’t remove .0 from High Level Step transition text

Added enum for DSS_DontDoCheckOffs format flag
This commit is contained in:
2014-01-16 12:05:30 +00:00
parent bea8e693ec
commit 9ddf1ac940
2 changed files with 6 additions and 2 deletions

View File

@@ -717,7 +717,10 @@ namespace VEPROMS.CSLA.Library
if (hasDelim && !hlsTab.EndsWith(".") && !hlsTab.EndsWith(")")) hlsTab = hlsTab + ".";
if (hasDotZero)
{
if (hlsTab.EndsWith(".0.")) hlsTab = hlsTab.Substring(0, hlsTab.Length - 2);
if (item.IsHigh)
hlsTab = hlsTab.Substring(0, hlsTab.Length - 1);
else if (hlsTab.EndsWith(".0."))
hlsTab = hlsTab.Substring(0, hlsTab.Length - 2);
if (sret == "" || !sret.StartsWith(hlsTab)) sret = hlsTab + sret;
}
else