summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b303296)
raw | patch | inline | side by side (parent: b303296)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:41:20 +0000 (23:41 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:41:20 +0000 (23:41 +0000) |
src/sp-star.cpp | patch | blob | history |
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index fbcad697586bb0c78a672271eb82254ce231466e..cf6f1140395a465d243eea7af1e585893a0a9061 100644 (file)
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
if (write) {
Inkscape::XML::Node *repr = SP_OBJECT_REPR(shape);
if ( shape->curve != NULL ) {
- NArtBpath const * abp = shape->curve->get_bpath();
- if (abp) {
- gchar *str = sp_svg_write_path(abp);
- repr->setAttribute("d", str);
- g_free(str);
- } else {
- repr->setAttribute("d", "");
- }
+ gchar *str = sp_svg_write_path(shape->curve->get_pathvector());
+ repr->setAttribute("d", str);
+ g_free(str);
} else {
repr->setAttribute("d", NULL);
}