Code

fix confusion of SP_CANVAS_BPATH with SP_CURVE_BPATH
authormental <mental@users.sourceforge.net>
Tue, 9 May 2006 04:17:38 +0000 (04:17 +0000)
committermental <mental@users.sourceforge.net>
Tue, 9 May 2006 04:17:38 +0000 (04:17 +0000)
src/display/canvas-bpath.cpp

index a9285f95234aa9cc1ff7d7893959a3472c67cda2..17c88001795514f6a59c83afe495b031b3c44768 100644 (file)
@@ -140,7 +140,7 @@ sp_canvas_bpath_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned i
 
     if ((cbp->fill_rgba & 0xff) || (cbp->stroke_rgba & 0xff)) {
        Path*  thePath=new Path;
-       thePath->LoadArtBPath(SP_CANVAS_BPATH(cbp->curve), affine, true);
+       thePath->LoadArtBPath(SP_CURVE_BPATH(cbp->curve), affine, true);
        thePath->Convert(0.25);
        if ((cbp->fill_rgba & 0xff) && (cbp->curve->end > 2)) {
            Shape* theShape=new Shape;