diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixpath.cpp | 2 |
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)
{
|