Commit 22f6e438 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

fixes issue #31

parent 83834eb8
......@@ -49,7 +49,7 @@ namespace Svg
if (value is string)
{
var s = (string) value;
if(s == "none")
if(String.Equals( s, "none", StringComparison.OrdinalIgnoreCase))
return SvgPaintServer.None;
else
return SvgPaintServerFactory.Create(s, (SvgDocument)context);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment