summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-24 21:36:41 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-24 21:36:41 +0000
commit3156b05d7fd41f6d770de9c330338654f6e1f03e (patch)
tree0865e8b103c0d764f01e8ba45c430532df2d8188 /src/ui/tools/freehand-base.cpp
parentUnits: make it absolutely clear that Document properties unit dropdown is for... (diff)
downloadinkscape-3156b05d7fd41f6d770de9c330338654f6e1f03e.tar.gz
inkscape-3156b05d7fd41f6d770de9c330338654f6e1f03e.zip
Fix a bug in pen/cil modes triangle in/out
(bzr r13752)
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index bd84e0efb..32702a17e 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -256,7 +256,7 @@ static void spdc_apply_powerstroke_shape(const std::vector<Geom::Point> & points
std::ostringstream s;
s.imbue(std::locale::classic());
- s << "0," << stroke_width / 2.;
+ s << points[0][Geom::X] << "," << stroke_width / 2.;
// write powerstroke parameters:
lpe->getRepr()->setAttribute("start_linecap_type", "zerowidth");