Code

fix copy error
authorJohan Engelen <goejendaagh@zonnet.nl>
Tue, 26 Oct 2010 18:57:52 +0000 (20:57 +0200)
committerJohan Engelen <goejendaagh@zonnet.nl>
Tue, 26 Oct 2010 18:57:52 +0000 (20:57 +0200)
src/extension/internal/cairo-render-context.cpp

index 2e5ab295e078c475f444878f60180d27341f2fc1..066324ebf96a2ee1145702625fdc0c81c4b99793 100644 (file)
@@ -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)) );