summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-05-05 11:58:23 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-05-05 11:58:23 +0000
commit129e599f69d69970d27f827159d563d58c7831b9 (patch)
treefa15e756067f688a61f39da90793d4da90ea0176 /src/sp-pattern.cpp
parentmerge from trunk (r12305) (diff)
parentFix for 1171434 : trunk: INX <optiongroup> broken^ (diff)
downloadinkscape-129e599f69d69970d27f827159d563d58c7831b9.tar.gz
inkscape-129e599f69d69970d27f827159d563d58c7831b9.zip
merge from trunk (r12322)
(bzr r11668.1.69)
Diffstat (limited to 'src/sp-pattern.cpp')
-rw-r--r--src/sp-pattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp
index 23cd3d32e..c4308a1a9 100644
--- a/src/sp-pattern.cpp
+++ b/src/sp-pattern.cpp
@@ -591,7 +591,7 @@ sp_pattern_create_pattern(SPPaintServer *ps,
SPPattern *shown = NULL;
for (SPPattern *pat_i = pat; pat_i != NULL; pat_i = pat_i->ref ? pat_i->ref->getObject() : NULL) {
// find the first one with item children
- if (pat_i && SP_IS_OBJECT (pat_i) && pattern_hasItemChildren(pat_i)) {
+ if (pat_i && SP_IS_OBJECT(pat_i) && pattern_hasItemChildren(pat_i)) {
shown = pat_i;
break; // do not go further up the chain if children are found
}