B2017-012 - RO XYPlots had been impacted by logic which was turning spaces into hard spaces. This, in turn, stopped the XY Plot logic from working.

This commit is contained in:
Rich 2017-01-19 21:55:33 +00:00
parent 19971f3301
commit 231849ace4

View File

@ -965,7 +965,10 @@ namespace VEPROMS.CSLA.Library
string resstr = rtnstr.Substring(0, indx); string resstr = rtnstr.Substring(0, indx);
int endHsp = rtnstr.IndexOf(")", indx); int endHsp = rtnstr.IndexOf(")", indx);
string tmpstr = rtnstr.Substring(indx + 5, endHsp - indx - 5); string tmpstr = rtnstr.Substring(indx + 5, endHsp - indx - 5);
if (!tmpstr.Contains("<<G")) // B2017-012 Don't ccovert space to hardspaces for XY Plots.
tmpstr = tmpstr.Replace(" ", @"\u160?"); tmpstr = tmpstr.Replace(" ", @"\u160?");
else
Console.WriteLine(tmpstr);
resstr = resstr + tmpstr; resstr = resstr + tmpstr;
rtnstr = resstr + rtnstr.Substring(endHsp + 1); rtnstr = resstr + rtnstr.Substring(endHsp + 1);
} }