summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 10a5fbc59..a778c3d79 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -1257,7 +1257,7 @@ sp_item_adjust_stroke (SPItem *item, gdouble ex)
{
SPStyle *style = SP_OBJECT_STYLE (item);
- if (style && !style->stroke.isNone() && !NR_DF_TEST_CLOSE (ex, 1.0, NR_EPSILON)) {
+ if (style && !style->stroke.isNone() && !Geom::are_near(ex, 1.0, Geom::EPSILON)) {
style->stroke_width.computed *= ex;
style->stroke_width.set = TRUE;