summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-12-05 19:57:37 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-12-05 19:57:37 +0000
commitcd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78 (patch)
treed62314ee82433918c019fecffc7e4e3bfc7e4777 /src/pencil-context.cpp
parentNR -> 2Geom, more h and cpp files (diff)
downloadinkscape-cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78.tar.gz
inkscape-cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78.zip
NR::LInfty => Geom::
(bzr r6953)
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index 69d9a5e23..88fa3a2d4 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -318,7 +318,7 @@ pencil_handle_motion_notify(SPPencilContext *const pc, GdkEventMotion const &mev
if (pencil_within_tolerance) {
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
gint const tolerance = prefs->getIntLimited("/options/dragtolerance/value", 0, 0, 100);
- if ( NR::LInfty( Geom::Point(mevent.x,mevent.y) - pencil_drag_origin_w ) < tolerance ) {
+ if ( Geom::LInfty( Geom::Point(mevent.x,mevent.y) - pencil_drag_origin_w ) < tolerance ) {
return FALSE; // Do not drag if we're within tolerance from origin.
}
}