Mulitple ROs with No Units trying to eliminate duplicate Units
This commit is contained in:
parent
fc95275902
commit
75f8bd9584
@ -1495,8 +1495,7 @@ namespace Volian.Controls.Library
|
||||
if (Regex.IsMatch(mynum, @".*\\'[A-Fa-f0-9]{2,2}$"))
|
||||
ind -= 4;
|
||||
units = prevValue.Substring(ind+1);
|
||||
//if (rtnstr.EndsWith(units) && units != "")
|
||||
if (rtnstr.EndsWith(units))
|
||||
if (rtnstr.EndsWith(units) && units != "")// Don't do this if there are no units
|
||||
{
|
||||
rtnstr = rtnstr.Replace(units, "");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user