xpath BUGFIX negated strcmp result
diff --git a/src/xpath.c b/src/xpath.c
index fd21b20..7749d9f 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -6493,7 +6493,7 @@
             result = (set1->val.num == set2->val.num);
         } else {
             assert(set1->type == LYXP_SET_STRING);
-            result = strcmp(set1->val.str, set2->val.str);
+            result = !strcmp(set1->val.str, set2->val.str);
         }
     } else if (op[0] == '!') {
         if (set1->type == LYXP_SET_BOOLEAN) {
@@ -6502,7 +6502,7 @@
             result = (set1->val.num != set2->val.num);
         } else {
             assert(set1->type == LYXP_SET_STRING);
-            result = strcmp(set1->val.str, set2->val.str);
+            result = !strcmp(set1->val.str, set2->val.str);
         }
     } else {
         assert(set1->type == LYXP_SET_NUMBER);