summaryrefslogtreecommitdiffstats
path: root/src/object/sp-path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-path.cpp')
-rw-r--r--src/object/sp-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp
index 4d1f1311f..de31b45e2 100644
--- a/src/object/sp-path.cpp
+++ b/src/object/sp-path.cpp
@@ -280,7 +280,7 @@ Inkscape::XML::Node* SPPath::write(Inkscape::XML::Document *xml_doc, Inkscape::X
g_message("sp_path_write writes 'd' attribute");
#endif
- if ( this->_curve != NULL ) {
+ if (this->_curve) {
gchar *str = sp_svg_write_path(this->_curve->get_pathvector());
repr->setAttribute("d", str);
g_free(str);