summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-30 12:05:25 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-30 12:05:25 +0000
commit33da924cabc1b580cca04ea77023e6a1e3e669c3 (patch)
treeeb96b573f39fa21f47c8ceded60a67b15c59a586 /src
parentStyle rewrite: fix typo. (diff)
downloadinkscape-33da924cabc1b580cca04ea77023e6a1e3e669c3.tar.gz
inkscape-33da924cabc1b580cca04ea77023e6a1e3e669c3.zip
Style rewrite: fix two more buglets.
(bzr r13325)
Diffstat (limited to 'src')
-rw-r--r--src/style-internal.h4
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;
}