From 0fb35c8f9cf5c35d0fcfdf92ec35950dd50ad380 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 16 Apr 2007 23:39:53 +0000 Subject: [PATCH] silly error - lazy boolean evaluation bit me --- src/dyna-draw-context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2