remove spaces at the end of lines in the command string

This commit is contained in:
John Jenko 2011-09-28 13:36:50 +00:00
parent 4fefa90d79
commit c4c92f7706

View File

@ -444,6 +444,7 @@ namespace XYPlots
{
int ptr = 0;
Buff = Buff.Trim(" \r\n".ToCharArray());
while (Buff.Contains("> ")) Buff = Buff.Replace("> ", ">");
if (Buff.StartsWith("<<G "))
{
Buff = Buff.Substring(4);