diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-04-24 12:53:30 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-04-24 12:53:30 +0000 |
| commit | 20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3 (patch) | |
| tree | ce0ca88db9385121a88ce92d2b407ebb7e9734c7 /src/selection-chemistry.cpp | |
| parent | Clean up of style code, removal of SPFontStyle. Step 2. (diff) | |
| download | inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.tar.gz inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.zip | |
Clean up of style code: refactor marker properties. Step 3.
(bzr r13301)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 6 |
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; } |
