[chronojump] Fixed a util.cs method to compile ok on windows
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed a util.cs method to compile ok on windows
- Date: Tue, 8 Feb 2022 13:07:21 +0000 (UTC)
commit 19f256c086a968b0ddd4e398f78aff982f886260
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Feb 8 13:50:01 2022 +0100
Fixed a util.cs method to compile ok on windows
src/util.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/util.cs b/src/util.cs
index a525bee99..7fefa017c 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -133,7 +133,7 @@ public class Util
public static List<int> SQLStringToListInt (string sqlString, string sep)
{
List<int> l = new List<int>();
- string [] strFull = sqlString.Split(sep);
+ string [] strFull = sqlString.Split(sep.ToCharArray());
foreach(string str in strFull)
if(IsNumber(str, false))
l.Add(Convert.ToInt32(str));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]