From 64950cf3ad00f2a41326e45162aeaa7756e98138 Mon Sep 17 00:00:00 2001 From: didier Date: Tue, 13 Nov 2007 14:40:59 +0000 Subject: Robustesse. --- src/SVG/SVG2zinc.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/SVG/SVG2zinc.pm') 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') { -- cgit v1.1