summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruno Girin <brunogirin@gmail.com>2012-01-15 16:25:12 +0000
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-16 07:46:32 +0100
commit4cfe987e9bb29d3b34d3f9f779e878a896897110 (patch)
tree4aa07eea0486363e3e9b996190f44fee347e3f9b /src
parent825d3188f1da6ce0eef1ff51718091ea889dd21b (diff)
Check endMarker even if startMarker is set
Diffstat (limited to 'src')
-rw-r--r--src/lib/VSDXContentCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index 2851d3f..db9a02a 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -455,7 +455,7 @@ void libvisio::VSDXContentCollector::_lineProperties(double strokeWidth, Colour
m_styleProps.insert("draw:marker-start-path", "m10 0-10 30h20z");
m_styleProps.insert("draw:marker-start-width", m_scale*0.118);
}
- else if (endMarker > 0)
+ if (endMarker > 0)
{
m_styleProps.insert("draw:marker-end-viewbox", "0 0 20 30");
m_styleProps.insert("draw:marker-end-path", "m10 0-10 30h20z");