diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index c5969576e6d348d23658d35a1130b1d4e690a889..eeb82970b6bc8a7cae962a584fd896e97e631e56 100644 (file)
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
if (!curve)
return NULL;
- NArtBpath *bpath = curve->bpath;
+ NArtBpath *bpath = SP_CURVE_BPATH(curve);
if (bpath == NULL)
return NULL;
if ( doTransformation ) {
if (transformFull)
- bpath = nr_artpath_affine(curve->bpath, sp_item_i2doc_affine(item));
+ bpath = nr_artpath_affine(SP_CURVE_BPATH(curve), sp_item_i2doc_affine(item));
else
- bpath = nr_artpath_affine(curve->bpath, item->transform);
+ bpath = nr_artpath_affine(SP_CURVE_BPATH(curve), item->transform);
sp_curve_unref(curve);
curve=NULL;
} else {
- bpath=curve->bpath;
+ bpath=SP_CURVE_BPATH(curve);
}
Path *dest = new Path;