From: Johan Engelen Date: Tue, 26 Oct 2010 18:57:52 +0000 (+0200) Subject: fix copy error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c27191ffc0f010eeab41f904b605cd807a9f8f44;p=inkscape.git fix copy error --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index 2e5ab295e..066324ebf 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -1268,7 +1268,7 @@ CairoRenderContext::_setStrokeStyle(SPStyle const *style, NRRect const *pbox) cairo_set_source_rgba(_cr, rgb[0], rgb[1], rgb[2], alpha); } else { - g_assert( style->fill.isPaintserver() + g_assert( style->stroke.isPaintserver() || SP_IS_GRADIENT(SP_STYLE_STROKE_SERVER(style)) || SP_IS_PATTERN(SP_STYLE_STROKE_SERVER(style)) );