summaryrefslogtreecommitdiffstats
path: root/src/object/sp-text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-text.cpp')
-rw-r--r--src/object/sp-text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp
index 94c35169c..3cfae54cb 100644
--- a/src/object/sp-text.cpp
+++ b/src/object/sp-text.cpp
@@ -896,7 +896,7 @@ void SPText::_adjustFontsizeRecursive(SPItem *item, double ex, bool is_root)
if (style && !Geom::are_near(ex, 1.0)) {
if (!style->font_size.set && is_root) {
- style->font_size.set = 1;
+ style->font_size.set = true;
}
style->font_size.type = SP_FONT_SIZE_LENGTH;
style->font_size.computed *= ex;