From 40ebed56471dd771efb7845570a32a09481d6136 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Mon, 16 Mar 2020 15:25:19 +0100 Subject: [PATCH] -Fix: white space char at the end of the last command line param (fixes #512) --- Vocaluxe/Base/CConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 5d4fb05a..4b7288bd 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -715,7 +715,7 @@ namespace Vocaluxe.Base Regex spliterVal = new Regex(@"\s", RegexOptions.IgnoreCase); //split arg with Spilter-Regex and save in parts - string[] parts = spliterVal.Split(text, 2); + string[] parts = spliterVal.Split(text.Trim(), 2); switch (parts.Length) {