summaryrefslogtreecommitdiffstats
path: root/src/display/nr-style.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-06-12 21:33:11 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-08-05 00:31:06 +0000
commitbbf828d9ae370e9aede9702e520c106c380a3867 (patch)
tree1995e3e38ee25046906073df927999988e445941 /src/display/nr-style.cpp
parentRevert changes (diff)
downloadinkscape-bbf828d9ae370e9aede9702e520c106c380a3867.tar.gz
inkscape-bbf828d9ae370e9aede9702e520c106c380a3867.zip
Refactor with Tav help
Diffstat (limited to 'src/display/nr-style.cpp')
-rw-r--r--src/display/nr-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/nr-style.cpp b/src/display/nr-style.cpp
index cec6de4d3..fa0db55cc 100644
--- a/src/display/nr-style.cpp
+++ b/src/display/nr-style.cpp
@@ -221,7 +221,7 @@ void NRStyle::set(SPStyle *style, SPStyle *context_style)
dash_offset = style->stroke_dashoffset.value;
dash = new double[n_dash];
for (unsigned int i = 0; i < n_dash; ++i) {
- dash[i] = style->stroke_dasharray.values[i];
+ dash[i] = style->stroke_dasharray.values[i].value;
}
} else {
dash_offset = 0.0;