aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Colors.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Colors.cs')
-rw-r--r--src/Colors.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Colors.cs b/src/Colors.cs
index 269d7ae6..e928f377 100644
--- a/src/Colors.cs
+++ b/src/Colors.cs
@@ -53,7 +53,7 @@ namespace Crow
if (string.IsNullOrEmpty(s))
return White;
- string[] c = s.Split(new char[] { ';' });
+ string[] c = s.Split(new char[] { ',' });
if (c.Length == 1)
{
@@ -1012,7 +1012,7 @@ namespace Crow
#region IXmlSerializable
public void ReadXml(System.Xml.XmlReader reader)
{
- string[] c = reader["Color"].Split(new char[] { ';' });
+ string[] c = reader["Color"].Split(new char[] { ',' });
R = double.Parse(c[0]);
G = double.Parse(c[1]);
B = double.Parse(c[2]);
@@ -1061,7 +1061,7 @@ namespace Crow
}
}
- return string.Format("{0};{1};{2};{3}", R, G, B, A);
+ return string.Format("{0},{1},{2},{3}", R, G, B, A);
}
public static object Parse(string s)