From 03e8e4c2d075e2d6bfdf44c461b810b0e8b68456 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 28 Jul 2014 23:44:54 +0200 Subject: fix build. gcc 4.6.1 does not like double parens here :/ (bzr r13480) --- src/sp-path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3