summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 80f7c1cea..3fe9fcb81 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -195,7 +195,7 @@ SPIScale24::merge( const SPIBase* const parent ) {
std::cerr << "SPIScale24::merge: unhandled property: " << name << std::endl;
if( !set || (!inherit && value == SP_SCALE24_MAX) ) {
value = p->value;
- set = (value != 1.0);
+ set = (value != SP_SCALE24_MAX);
} else {
if( inherit ) value = p->value; // Insures child is up-to-date
value = SP_SCALE24_MUL( value, p->value );