diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-04-30 12:05:25 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-04-30 12:05:25 +0000 |
| commit | 33da924cabc1b580cca04ea77023e6a1e3e669c3 (patch) | |
| tree | eb96b573f39fa21f47c8ceded60a67b15c59a586 | |
| parent | Style rewrite: fix typo. (diff) | |
| download | inkscape-33da924cabc1b580cca04ea77023e6a1e3e669c3.tar.gz inkscape-33da924cabc1b580cca04ea77023e6a1e3e669c3.zip | |
Style rewrite: fix two more buglets.
(bzr r13325)
| -rw-r--r-- | src/style-internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/style-internal.h b/src/style-internal.h index 1e878f1f6..0901cc0bc 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -229,7 +229,8 @@ class SPIScale24 : public SPIBase { SPIScale24& operator=(const SPIScale24& rhs) { SPIBase::operator=(rhs); - value = rhs.value; + value = rhs.value; + value_default = rhs.value_default; return *this; } @@ -400,6 +401,7 @@ class SPIString : public SPIBase { SPIString& operator=(const SPIString& rhs) { SPIBase::operator=(rhs); value = rhs.value?g_strdup(rhs.value):NULL; + value_default = rhs.value_default?g_strdup(rhs.value_default):NULL; return *this; } |
