summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24c87cf)
raw | patch | inline | side by side (parent: 24c87cf)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Jul 2008 19:33:19 +0000 (19:33 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Jul 2008 19:33:19 +0000 (19:33 +0000) |
src/path-chemistry.cpp | patch | blob | history |
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index a796ae340e63dccaec540eb4b19eb7476db7d0a2..29c977e5d965e53fb74c6d4609572c295b5ee33d 100644 (file)
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
// Prevent empty paths from being added to the document
// otherwise we end up with zomby markup in the SVG file
- if(curve->get_length() <= 0)
+ if(curve->is_empty())
{
curve->unref();
return NULL;