Commit e0568e61 authored by Josh McCullough's avatar Josh McCullough
Browse files

Set writeStyle for use later.

parent af7e5fd8
......@@ -562,7 +562,7 @@ namespace Svg
forceWrite = false;
writeStyle = (attr.Attribute.Name == "fill");
if ((attr.Attribute.Name == "fill") && (Parent != null))
if (writeStyle && (Parent != null))
{
if(propertyValue == SvgColourServer.NotSet) continue;
......
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