1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- xpath.c: ptittom found a small bug in UnaryExpr

Daniel
This commit is contained in:
Daniel Veillard
2001-03-12 18:22:04 +00:00
parent e356c28006
commit 68d7b67ada
2 changed files with 6 additions and 2 deletions

View File

@ -5630,8 +5630,8 @@ xmlXPathEvalUnaryExpr(xmlXPathParserContextPtr ctxt) {
int minus = 0;
SKIP_BLANKS;
if (CUR == '-') {
minus = 1;
while (CUR == '-') {
minus = 1 - minus;
NEXT;
SKIP_BLANKS;
}