summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-29 22:12:42 +0000
committerMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-29 22:12:42 +0000
commitbba4ff6672494fab59286b50f6c645ad62a47e60 (patch)
treec357b8add3334ef1df340d4eb433404857c27e7d /src/widgets/paint-selector.cpp
parentFix test (diff)
downloadinkscape-bba4ff6672494fab59286b50f6c645ad62a47e60.tar.gz
inkscape-bba4ff6672494fab59286b50f6c645ad62a47e60.zip
Fix include order with clang-tidy check llvm-include-order
Diffstat (limited to 'src/widgets/paint-selector.cpp')
-rw-r--r--src/widgets/paint-selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp
index 991d81d4a..de0018115 100644
--- a/src/widgets/paint-selector.cpp
+++ b/src/widgets/paint-selector.cpp
@@ -684,7 +684,7 @@ static void sp_paint_selector_set_mode_color(SPPaintSelector *psel, SPPaintSelec
sp_paint_selector_set_style_buttons(psel, psel->solid);
gtk_widget_set_sensitive(psel->style, TRUE);
- if ((psel->mode == SPPaintSelector::MODE_SOLID_COLOR)) {
+ if (psel->mode = SPPaintSelector::MODE_SOLID_COLOR) {
/* Already have color selector */
// Do nothing
} else {