aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SVG/SVG2zinc.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm
index 5b25aa1..74638dd 100644
--- a/src/SVG/SVG2zinc.pm
+++ b/src/SVG/SVG2zinc.pm
@@ -1680,7 +1680,9 @@ sub analyze_style_hash {
}
elsif ($key eq 'stroke-dasharray')
{
- $res .= ", -linestyle => \"dashed\"";
+ if ($value ne 'none' && $value ne '0') {
+ $res .= ", -linestyle => \"dashed\"";
+ }
}
elsif ($key eq 'display')
{