diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index e7a975d01397f8066cb2921f0b302be11ab53dd6..9439fea8b0d854e526c7ccbc2763b456ee17ae14 100644 (file)
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
int j = 0;
NR::Matrix const i2doc = sp_item_i2doc_affine(*i);
- while (sh->curve->bpath[j].code != NR_END) {
+ while (SP_CURVE_BPATH(sh->curve)[j].code != NR_END) {
/* Get this node in desktop coordinates */
- NArtBpath const &bp = sh->curve->bpath[j];
+ NArtBpath const &bp = SP_CURVE_BPATH(sh->curve)[j];
NR::Point const n = desktop->doc2dt(bp.c(3) * i2doc);
/* Try to snap to this node of the path */