summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-24 21:38:54 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-24 21:38:54 +0000
commit5497de6e39d4fc31a6824eb9f9e638635de4521b (patch)
treed1e5d867d3b9f618846bdfe65e147b23df8ed58a /src/ui/tools/pen-tool.cpp
parentFixing bend from clipboard to trunk 0.92 (diff)
parentFix a bug in pen/cil modes triangle in/out (diff)
downloadinkscape-5497de6e39d4fc31a6824eb9f9e638635de4521b.tar.gz
inkscape-5497de6e39d4fc31a6824eb9f9e638635de4521b.zip
update to trunk
(bzr r12588.1.37)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
-rw-r--r--src/ui/tools/pen-tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp
index 92937a135..fbcdf6142 100644
--- a/src/ui/tools/pen-tool.cpp
+++ b/src/ui/tools/pen-tool.cpp
@@ -1366,7 +1366,7 @@ void PenTool::_setAngleDistanceStatusMessage(Geom::Point const p, int pc_point_t
Geom::Point rel = p - this->p[pc_point_to_compare];
Inkscape::Util::Quantity q = Inkscape::Util::Quantity(Geom::L2(rel), "px");
- GString *dist = g_string_new(q.string(desktop->namedview->doc_units).c_str());
+ GString *dist = g_string_new(q.string(desktop->namedview->display_units).c_str());
double angle = atan2(rel[Geom::Y], rel[Geom::X]) * 180 / M_PI;
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
if (prefs->getBool("/options/compassangledisplay/value", 0) != 0) {