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:
@@ -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
|
||||
|
Reference in New Issue
Block a user