summaryrefslogtreecommitdiffstats
path: root/src/sp-polygon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-polygon.cpp')
-rw-r--r--src/sp-polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-polygon.cpp b/src/sp-polygon.cpp
index 1067da72e..eee8d50bc 100644
--- a/src/sp-polygon.cpp
+++ b/src/sp-polygon.cpp
@@ -122,7 +122,7 @@ static Inkscape::XML::Node *sp_polygon_write(SPObject *object, Inkscape::XML::Do
}
/* We can safely write points here, because all subclasses require it too (Lauris) */
- gchar *str = sp_svg_write_polygon(shape->curve->get_pathvector());
+ gchar *str = sp_svg_write_polygon(shape->_curve->get_pathvector());
repr->setAttribute("points", str);
g_free(str);