summaryrefslogtreecommitdiff
path: root/src/pugixpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r--src/pugixpath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index e567524..6dc58f1 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -434,7 +434,7 @@ namespace
ns.append(node.name(), pos);
}
- xml_node p = node.parent();
+ xml_node p = node;
while (p)
{