Code

silly error - lazy boolean evaluation bit me
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 16 Apr 2007 23:39:53 +0000 (23:39 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 16 Apr 2007 23:39:53 +0000 (23:39 +0000)
src/dyna-draw-context.cpp

index d82754dbab791b67e58b0069381d968b0674dc0b..ba8d796a0ef93d6dc05b09451e8506e2a891c6cc 100644 (file)
@@ -736,7 +736,8 @@ sp_ddc_dilate (SPDynaDrawContext *dc, NR::Point p, bool expand)
 
         SPItem *item = (SPItem *) items->data;
 
-        did = did || sp_ddc_dilate_recursive (item, p, expand, radius, offset);
+        if (sp_ddc_dilate_recursive (item, p, expand, radius, offset))
+            did = true;
 
     }