diff options
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 996ae3fd5..05ea6c130 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -435,7 +435,7 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 /*text_grouping_policy*/) // Prevent empty paths from being added to the document // otherwise we end up with zomby markup in the SVG file - if(curve->_end <= 0) + if(curve->get_length() <= 0) { curve->unref(); return NULL; |
