diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-08-23 00:33:29 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-08-23 00:33:29 +0000 |
commit | d54f374b40ea90587cf9b95b012f2428450ce5b1 (patch) | |
tree | 1c9992d28b950319539065c63b5e842f589c2d21 /src/search.c | |
parent | ef1d0de5f01f09c27154c358b8ee4a43762fae75 (diff) | |
download | emacs-d54f374b40ea90587cf9b95b012f2428450ce5b1.tar.gz |
(Fstring_match): Fix sign error.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index ff9eefec917..7f006883270 100644 --- a/src/search.c +++ b/src/search.c @@ -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); } |