From 30ac2dce0abbe4f304a88a6ed878f64433e05b0e Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 17 Jan 2016 15:08:54 +0000 Subject: [PATCH] Minor optimisation for the SVG parser --- modules/juce_gui_basics/drawables/juce_SVGParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp index 4f5065b0f2..7dc76b59e7 100644 --- a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp +++ b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp @@ -618,7 +618,7 @@ private: const String strokeDashArray (getStyleAttribute (xml, "stroke-dasharray")); - if (strokeDashArray.isNotEmpty()) + if (strokeDashArray.isNotEmpty() && ! strokeDashArray.equalsIgnoreCase ("null")) parseDashArray (strokeDashArray.getCharPointer(), *dp); parseClipPath (xml, *dp);