diff options
author | didier | 2007-11-13 14:40:59 +0000 |
---|---|---|
committer | didier | 2007-11-13 14:40:59 +0000 |
commit | 64950cf3ad00f2a41326e45162aeaa7756e98138 (patch) | |
tree | 6a20479ffc58d6bd12bbb0e71eb370fe82fbada4 /src | |
parent | f922efaa04b8e2ed1eb162bab3422015c1b5bfc9 (diff) | |
download | mtc-64950cf3ad00f2a41326e45162aeaa7756e98138.zip mtc-64950cf3ad00f2a41326e45162aeaa7756e98138.tar.gz mtc-64950cf3ad00f2a41326e45162aeaa7756e98138.tar.bz2 mtc-64950cf3ad00f2a41326e45162aeaa7756e98138.tar.xz |
Robustesse.
Diffstat (limited to 'src')
-rw-r--r-- | src/SVG/SVG2zinc.pm | 4 |
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') { |