summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-04-26 23:27:03 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-04-26 23:27:03 +0000
commitcf159c3d0415a1a761eb7ca760256cd224927d3c (patch)
tree03cfd9a7f543ec07377c96ed23b9f5b0626a6e2a /src/selection-chemistry.cpp
parentRedesign of the BSpline LPE widgets (diff)
parentClean up of style code: Patch from suv: SPStyle: struct -> class (diff)
downloadinkscape-cf159c3d0415a1a761eb7ca760256cd224927d3c.tar.gz
inkscape-cf159c3d0415a1a761eb7ca760256cd224927d3c.zip
update to trunk
(bzr r11950.1.336)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 5a981c6a0..868a9d743 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -2076,9 +2076,9 @@ GSList *sp_get_same_stroke_style(SPItem *sel, GSList *src, SPSelectStrokeStyleTy
match = true;
int len = sizeof(sel_style->marker)/sizeof(SPIString);
for (int i = 0; i < len; i++) {
- match = (sel_style->marker[i].set == iter_style->marker[i].set);
- if (sel_style->marker[i].set && iter_style->marker[i].set &&
- (strcmp(sel_style->marker[i].value, iter_style->marker[i].value))) {
+ match = (sel_style->marker_ptrs[i]->set == iter_style->marker_ptrs[i]->set);
+ if (sel_style->marker_ptrs[i]->set && iter_style->marker_ptrs[i]->set &&
+ (strcmp(sel_style->marker_ptrs[i]->value, iter_style->marker_ptrs[i]->value))) {
match = false;
break;
}