summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-text.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-01-03 14:39:48 +0000
committertavmjong-free <tavmjong@free.fr>2017-01-03 14:39:48 +0000
commitd3b4bc2816e0d19e9ecea778ddc01717ea11efb3 (patch)
treed272ae8e06092aa5ce45d82757efdd03f67d6a08 /src/display/drawing-text.cpp
parent[Bug #1636086] Update Catalan translation for Inkscape 0.92. (diff)
downloadinkscape-d3b4bc2816e0d19e9ecea778ddc01717ea11efb3.tar.gz
inkscape-d3b4bc2816e0d19e9ecea778ddc01717ea11efb3.zip
Fix logic error (non-scaling stroke on text).
(bzr r15386)
Diffstat (limited to 'src/display/drawing-text.cpp')
-rw-r--r--src/display/drawing-text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp
index 1280a2db9..21af7b200 100644
--- a/src/display/drawing-text.cpp
+++ b/src/display/drawing-text.cpp
@@ -599,7 +599,7 @@ unsigned DrawingText::_renderItem(DrawingContext &dc, Geom::IntRect const &/*are
}
{
Inkscape::DrawingContext::Save save(dc);
- if (!_style || ! _style->vector_effect.computed == SP_VECTOR_EFFECT_NON_SCALING_STROKE) {
+ if (!_style || !(_style->vector_effect.computed == SP_VECTOR_EFFECT_NON_SCALING_STROKE)) {
dc.transform(_ctm);
}
if (has_stroke) {