diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-07 23:11:54 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-07 23:11:54 +0000 |
| commit | 51639504fbee801b07900b8ffeef069157d298cb (patch) | |
| tree | 6aec1edd9cfaf33d18e8f2cb61e90bcfaf99b9e1 /src/selection-chemistry.cpp | |
| parent | Fixes to CPU (diff) | |
| parent | Merge branch 'luzpaz/inkscape-typos' (!119) (diff) | |
| download | inkscape-51639504fbee801b07900b8ffeef069157d298cb.tar.gz inkscape-51639504fbee801b07900b8ffeef069157d298cb.zip | |
Merge branch 'master' into fixSymbolsCpuProblems
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index b8a769d1c..efc378845 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -1,5 +1,5 @@ /** @file - * Miscellanous operations on selected items. + * Miscellaneous operations on selected items. */ /* Authors: * Lauris Kaplinski <lauris@kaplinski.com> @@ -1998,7 +1998,7 @@ std::vector<SPItem*> sp_get_same_fill_or_stroke_color(SPItem *sel, std::vector<S if (iter) { SPIPaint *iter_paint = (type == SP_FILL_COLOR) ? &(iter->style->fill) : &(iter->style->stroke); match = false; - if (sel_paint->isColor() && iter_paint->isColor() // color == color comparision doesnt seem to work here. + if (sel_paint->isColor() && iter_paint->isColor() // color == color comparison doesn't seem to work here. && (sel_paint->value.color.toRGBA32(1.0) == iter_paint->value.color.toRGBA32(1.0))) { match = true; } else if (sel_paint->isPaintserver() && iter_paint->isPaintserver()) { |
