changeset 8584:4f0a475b1fa9

(Fstring_match): Fix sign error.
author Karl Heuer <kwzh@gnu.org>
date Tue, 23 Aug 1994 00:33:29 +0000
parents 8a1bc8b28d10
children f9d1fe1ed6ec
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Mon Aug 22 23:27:23 1994 +0000
+++ b/src/search.c	Tue Aug 23 00:33:29 1994 +0000
@@ -215,7 +215,7 @@
       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);
     }