Commit c1470c67 authored by mrbean-bremen's avatar mrbean-bremen
Browse files

Reverted unneeded part of previous fix

- caused regression
parent 8ad92e3a
...@@ -15,10 +15,7 @@ namespace Svg.Pathing ...@@ -15,10 +15,7 @@ namespace Svg.Pathing
public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath) public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath)
{ {
if (this.Start != this.End) graphicsPath.AddLine(this.Start, this.End);
{
graphicsPath.AddLine(this.Start, this.End);
}
} }
public override string ToString() public override string ToString()
......
...@@ -15,10 +15,7 @@ namespace Svg.Pathing ...@@ -15,10 +15,7 @@ namespace Svg.Pathing
public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath) public override void AddToPath(System.Drawing.Drawing2D.GraphicsPath graphicsPath)
{ {
if (this.Start != this.End) graphicsPath.StartFigure();
{
graphicsPath.StartFigure();
}
} }
public override string ToString() public override string ToString()
......
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