summaryrefslogtreecommitdiffstats
path: root/src/ui/shape-editor-knotholders.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-09-13 08:28:04 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-09-13 08:28:04 +0000
commitcd87d7599e1a6f61bb14e08f6e4a43a42a385c80 (patch)
treedf6969db4f36651656e3ef085a8a1ce905d5c88b /src/ui/shape-editor-knotholders.cpp
parentfix crash in CanvasXYGrid::updateWidgets (diff)
downloadinkscape-cd87d7599e1a6f61bb14e08f6e4a43a42a385c80.tar.gz
inkscape-cd87d7599e1a6f61bb14e08f6e4a43a42a385c80.zip
A value of zero for 'inline-size' should act as if 'inline-size' is not set. Fixes #852.
Diffstat (limited to 'src/ui/shape-editor-knotholders.cpp')
-rw-r--r--src/ui/shape-editor-knotholders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/shape-editor-knotholders.cpp b/src/ui/shape-editor-knotholders.cpp
index 02add372f..a2aa9919a 100644
--- a/src/ui/shape-editor-knotholders.cpp
+++ b/src/ui/shape-editor-knotholders.cpp
@@ -1693,7 +1693,7 @@ TextKnotHolderEntityInlineSize::knot_get() const
Geom::Point p(text->attributes.firstXY());
- if (text->style->inline_size.set) {
+ if (text->has_inline_size()) {
// SVG 2 'inline-size'
// Keep handle at end of text line.