[smuxi: 1/3] Engine: fixed supporting config values with spaces in /config set command
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/3] Engine: fixed supporting config values with spaces in /config set command
- Date: Wed, 19 Feb 2014 20:10:59 +0000 (UTC)
commit 1a244173d45e8f3faccabe293869d02b7830ae14
Author: Mirco Bauer <meebey meebey net>
Date: Wed Feb 19 21:03:00 2014 +0100
Engine: fixed supporting config values with spaces in /config set command
src/Engine/Session.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Engine/Session.cs b/src/Engine/Session.cs
index 9c552c1..a79ec8e 100644
--- a/src/Engine/Session.cs
+++ b/src/Engine/Session.cs
@@ -717,7 +717,7 @@ namespace Smuxi.Engine
_NotEnoughParameters(cd);
return;
}
- string setParam = cd.DataArray[2];
+ var setParam = String.Join(" ", cd.DataArray.Skip(2).ToArray());
if (!setParam.Contains("=")) {
builder.AppendErrorText(
_("Invalid key/value format.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]