diff options
Diffstat (limited to 'src/style-internal.cpp')
| -rw-r--r-- | src/style-internal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp index 319f4b905..5d9be05aa 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -206,6 +206,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); } else { if( inherit ) value = p->value; // Insures child is up-to-date value = SP_SCALE24_MUL( value, p->value ); |
