summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-07-28 21:44:54 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-07-28 21:44:54 +0000
commit03e8e4c2d075e2d6bfdf44c461b810b0e8b68456 (patch)
tree81a8fd4ecfc32303016539cd8d075dba305eeab0 /src
parentDon't update path effects on document load (#1299948) (diff)
downloadinkscape-03e8e4c2d075e2d6bfdf44c461b810b0e8b68456.tar.gz
inkscape-03e8e4c2d075e2d6bfdf44c461b810b0e8b68456.zip
fix build. gcc 4.6.1 does not like double parens here :/
(bzr r13480)
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);