Code

Fix startup crash by reverting a one-line change in 2geom; but please investigate...
authorcilix42 <cilix42@users.sourceforge.net>
Sun, 17 Aug 2008 23:25:57 +0000 (23:25 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Sun, 17 Aug 2008 23:25:57 +0000 (23:25 +0000)
src/2geom/path.h

index 97c4ce2bdfbb9aa43d3e70ef1cb4a88273f923be..9dfc929754b5dfa3789f723a3701b289d92c0700 100644 (file)
@@ -254,7 +254,7 @@ public:
 
   size_type max_size() const { return get_curves().max_size()-1; }
 
-  bool empty() const { return closed() || (get_curves().size() == 1); }
+  bool empty() const { return get_curves().size() == 1; }
   bool closed() const { return closed_; }
   void close(bool closed=true) { closed_ = closed; }