From 42b94eac97913d14dbdeeea902e301f8b2fc7161 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 28 Sep 2012 14:46:04 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20to=20remove=20the=20=E2=80=98>=E2=80=99?= =?UTF-8?q?=20character=20at=20the=20end=20of=20the=20plot=20definition=20?= =?UTF-8?q?=20which=20was=20preventing=20the=20plot=20from=20being=20gener?= =?UTF-8?q?ated.=20(B2012-186)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/XYPlots/XYPlots.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/XYPlots/XYPlots.cs b/PROMS/XYPlots/XYPlots.cs index 499bd46d..d559e414 100644 --- a/PROMS/XYPlots/XYPlots.cs +++ b/PROMS/XYPlots/XYPlots.cs @@ -479,6 +479,8 @@ namespace XYPlots } else if (Buff.EndsWith(">>")) // doesn't end with return chars... Buff = Buff.Substring(0, Buff.Length - 2) + " \r\n\0x00"; // needs to end with null + else if (Buff.EndsWith(">")) // doesn't end with return chars... + Buff = Buff.Substring(0, Buff.Length - 1) + " \r\n\0x00"; // needs to end with null } private void CloseGraph() {