summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index c2122e109..222626162 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -782,6 +782,7 @@ SPObject* SPObject::nthChild(unsigned index) {
if (counter == index) {
return &child;
}
+ counter++;
}
}
return NULL;