summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 fd2ead300..cad82b7a8 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -311,7 +311,7 @@ const Glib::ustring SPILength::get_value() const
case SP_CSS_UNIT_NONE:
break;
case SP_CSS_UNIT_PX:
- unit = "px";
+ unit_out = "px";
break;
case SP_CSS_UNIT_PT:
case SP_CSS_UNIT_PC: