summaryrefslogtreecommitdiffstats
path: root/src/sp-star.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-star.cpp')
-rw-r--r--src/sp-star.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index eea11791f..04efd8e93 100644
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
@@ -146,7 +146,7 @@ sp_star_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
}
sp_star_set_shape ((SPShape *) star);
- char *d = sp_svg_write_path (((SPShape *) star)->curve->bpath);
+ char *d = sp_svg_write_path (SP_CURVE_BPATH(((SPShape *) star)->curve));
repr->setAttribute("d", d);
g_free (d);