From: buliabyak Date: Mon, 16 Apr 2007 23:39:53 +0000 (+0000) Subject: silly error - lazy boolean evaluation bit me X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0fb35c8f9cf5c35d0fcfdf92ec35950dd50ad380;p=inkscape.git silly error - lazy boolean evaluation bit me --- diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index d82754dba..ba8d796a0 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -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; }