summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 5bb7bf548..5c076b7cb 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -141,7 +141,7 @@ void SPPath::build(SPDocument *document, Inkscape::XML::Node *repr) {
SPShape::build(document, repr);
// this->readAttr( "inkscape:original-d" ); // lp1299948
- if ((gchar const* s = this->getRepr()->attribute("inkscape:original-d")))
+ if (gchar const* s = this->getRepr()->attribute("inkscape:original-d"))
{
// write it to XML, and to my curve, but don't update patheffects
Geom::PathVector pv = sp_svg_read_pathv(s);