Commit 26faf9f4 authored by Karl Heuer's avatar Karl Heuer

(Fstring_match): Fix sign error.

parent 6e50b66b
......@@ -215,7 +215,7 @@ matched by parenthesis constructs in the pattern.")
CHECK_NUMBER (start, 2);
s = XINT (start);
if (s < 0 && -s <= len)
s = len - s;
s = len + s;
else if (0 > s || s > len)
args_out_of_range (string, start);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment