From 16888ce63e21b83d94595055150072ef3037ca1d Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 10 Sep 2007 06:33:47 +0000 Subject: Purged fill type enum (bzr r3706) --- src/shape-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shape-editor.cpp') diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 72c5ef058..d9a500e3c 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -269,7 +269,7 @@ bool ShapeEditor::is_over_stroke (NR::Point event_p, bool remember) { delta = desktop->d2w(delta); double stroke_tolerance = - (SP_OBJECT_STYLE (item)->stroke.type != SP_PAINT_TYPE_NONE? + ( !SP_OBJECT_STYLE(item)->stroke.isNone() ? desktop->current_zoom() * SP_OBJECT_STYLE (item)->stroke_width.computed * sp_item_i2d_affine (item).expansion() * 0.5 -- cgit v1.2.3