summaryrefslogtreecommitdiff
path: root/src/traversal/xpath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/traversal/xpath.cc')
-rw-r--r--src/traversal/xpath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversal/xpath.cc b/src/traversal/xpath.cc
index ed4c0544..85f25209 100644
--- a/src/traversal/xpath.cc
+++ b/src/traversal/xpath.cc
@@ -1210,7 +1210,7 @@ value_t xpath_t::op_t::calc(scope_t& scope)
case ATTR_NAME:
if (optional<value_t&> value =
kind == ATTR_ID ? current_xml_node(scope).get_attr(as_name()) :
- current_xml_node(scope).get_attr(as_string()))
+ current_xml_node(scope).get_attr(as_string()))
return *value;
break;