[chronojump] ForceSensor and RaceAnalyzer convert enter on comments to space to avoid hang on exportFiles (csv) o
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor and RaceAnalyzer convert enter on comments to space to avoid hang on exportFiles (csv) o
- Date: Thu, 24 Feb 2022 15:40:23 +0000 (UTC)
commit 6889324ff478467e57e40e53317abeb27f484739
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Feb 24 16:39:55 2022 +0100
ForceSensor and RaceAnalyzer convert enter on comments to space to avoid hang on exportFiles (csv) on R
src/forceSensor.cs | 2 +-
src/runEncoder.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/forceSensor.cs b/src/forceSensor.cs
index 928b8f8ef..36ac35fd8 100644
--- a/src/forceSensor.cs
+++ b/src/forceSensor.cs
@@ -1870,7 +1870,7 @@ public class ForceSensorGraphABExport: ForceSensorGraphAB
"\"\";\"\";" + // triggers unused on export
startSample.ToString() + ";" +
endSample.ToString() + ";" +
- Util.RemoveChar(commentOfSet, ';'); //TODO: check this really removes
+ Util.RemoveNewLine(Util.RemoveChar(commentOfSet, ';'), true);
}
public static string PrintCSVHeaderOnExport()
diff --git a/src/runEncoder.cs b/src/runEncoder.cs
index 6bf4804f6..d938b86a3 100644
--- a/src/runEncoder.cs
+++ b/src/runEncoder.cs
@@ -655,7 +655,7 @@ public class RunEncoderGraphExport
datetime + ";" +
printTriggers(TriggerList.Type3.ON) + ";" +
printTriggers(TriggerList.Type3.OFF) + ";" +
- Util.RemoveChar(comments, ';'); //TODO: check this really removes
+ Util.RemoveNewLine(Util.RemoveChar(comments, ';'), true);
}
private string printTriggers(TriggerList.Type3 type3)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]