diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-31 12:29:20 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-31 12:29:20 +0200 |
| commit | 9a8f162ca773a0a4b8748e631d53935dfd9831dc (patch) | |
| tree | 70d93447dbfaaf7b04474ddb7542a34bf4faed10 /src/Colors.cs | |
| parent | 5236bd6b11d26f08ed49462252bb815314e9e7dc (diff) | |
| parent | 58ca25a123f4cf8ac959d9ad372494b0c40a41bb (diff) | |
Merge branch 'StylingImprovments'
Diffstat (limited to 'src/Colors.cs')
| -rw-r--r-- | src/Colors.cs | 6 |
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) |