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 e7975ec..d29e6c7 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -3156,7 +3156,7 @@ namespace pugi
break;
case 's':
- if (starts_with(nt_name, "self::")) axis = axis_ancestor_or_self;
+ if (starts_with(nt_name, "self::")) axis = axis_self;
else axis_specified = false;
break;