summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-24 12:53:30 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-24 12:53:30 +0000
commit20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3 (patch)
treece0ca88db9385121a88ce92d2b407ebb7e9734c7 /src/desktop-style.cpp
parentClean up of style code, removal of SPFontStyle. Step 2. (diff)
downloadinkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.tar.gz
inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.zip
Clean up of style code: refactor marker properties. Step 3.
(bzr r13301)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index a7097b4c9..37f537cc5 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -722,10 +722,10 @@ objects_query_strokewidth (GSList *objects, SPStyle *style_res)
}
if ( style->stroke.isNone() && !(
- style->marker[SP_MARKER_LOC].set || // stroke width affects markers, so if there's no stroke but only markers then we should
- style->marker[SP_MARKER_LOC_START].set || // still calculate the stroke width
- style->marker[SP_MARKER_LOC_MID].set ||
- style->marker[SP_MARKER_LOC_END].set))
+ style->marker.set || // stroke width affects markers, so if there's no
+ style->marker_start.set || // stroke but only markers then we should
+ style->marker_mid.set || // still calculate the stroke width
+ style->marker_end.set))
{
continue;
}