From 48e6b0819d64e02bd43c199c9afa12f26a485323 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 9 May 2006 03:52:58 +0000 Subject: eliminate direct accesses to SPCurve::bpath (bzr r787) --- src/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index 75ded20f5..6263880a4 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -308,7 +308,7 @@ spdc_attach_selection(SPDrawContext *dc, Inkscape::Selection *sel) SPCurve *c; c = (SPCurve*)l->data; g_return_if_fail( c->end > 1 ); - if ( c->bpath->code == NR_MOVETO_OPEN ) { + if ( SP_CURVE_BPATH(c)->code == NR_MOVETO_OPEN ) { NArtBpath *s, *e; SPDrawAnchor *a; s = sp_curve_first_bpath(c); -- cgit v1.2.3