Commit 0bea4068 authored by David Snipp's avatar David Snipp
Browse files

nicer code style

parent 799b6fea
...@@ -102,7 +102,7 @@ namespace Svg ...@@ -102,7 +102,7 @@ namespace Svg
}; };
var bounds = renderer.GetBoundable().Bounds; var bounds = renderer.GetBoundable().Bounds;
if (bounds.Width <= 0 || bounds.Height <= 0 || (points[0].X == points[1].X && (points[0].Y==points[1].Y))) if (bounds.Width <= 0 || bounds.Height <= 0 || ((points[0].X == points[1].X) && (points[0].Y == points[1].Y)))
{ {
if (this.GetCallback != null) return GetCallback().GetBrush(renderingElement, renderer, opacity, forStroke); if (this.GetCallback != null) return GetCallback().GetBrush(renderingElement, renderer, opacity, forStroke);
return null; return null;
......
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