summaryrefslogtreecommitdiffstats
path: root/src/xml/node-fns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/node-fns.cpp')
-rw-r--r--src/xml/node-fns.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp
index 18b12075d..938d36281 100644
--- a/src/xml/node-fns.cpp
+++ b/src/xml/node-fns.cpp
@@ -59,6 +59,7 @@ struct node_matches {
// documentation moved to header
Node *previous_node(Node *node) {
+ return node->prev();
using Inkscape::Algorithms::find_if_before;
if ( !node || !node->parent() ) {