Code

Correct desktop tracking for layers dialog. Fixes bug #427514.
[inkscape.git] / src / draw-anchor.cpp
index f4abd596e4f30c45e8654c3923133d4efaeaf057..c6590ac44d422272d99c82a8bbd5bbb0561dcd9f 100644 (file)
@@ -82,7 +82,7 @@ sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean activate)
 {
     SPDesktop *dt = SP_EVENT_CONTEXT_DESKTOP(anchor->dc);
 
-    if ( activate && ( NR::LInfty( w - dt->d2w(anchor->dp) ) <= A_SNAP ) ) {
+    if ( activate && ( Geom::LInfty( w - dt->d2w(anchor->dp) ) <= A_SNAP ) ) {
         if (!anchor->active) {
             sp_canvas_item_set((GtkObject *) anchor->ctrl, "filled", TRUE, NULL);
             anchor->active = TRUE;