summaryrefslogtreecommitdiffstats
path: root/src/style-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-internal.h')
-rw-r--r--src/style-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style-internal.h b/src/style-internal.h
index 2d49daad0..a0f31a6f0 100644
--- a/src/style-internal.h
+++ b/src/style-internal.h
@@ -875,7 +875,7 @@ public:
}
bool isNone() const {
- return (paintOrigin == SP_CSS_PAINT_ORIGIN_NORMAL) && !colorSet && !isPaintserver();
+ return !colorSet && !isPaintserver() && (paintOrigin == SP_CSS_PAINT_ORIGIN_NORMAL);
} // TODO refine
bool isColor() const {