From af1339bacfe3a03c57bad2975c1b297b9ee67cd3 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 17 Jun 2000 17:05:53 +0000 Subject: 11956: Fix off-by-one error. --- Src/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/loop.c b/Src/loop.c index 591007b17..84ac39e9a 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -567,7 +567,7 @@ execcase(Estate state, int do_exec) state->pc = next; code = *state->pc; state->pc += 3; - next = state->pc + WC_CASE_SKIP(code) - 1; + next = state->pc + WC_CASE_SKIP(code) - 2; execlist(state, 1, ((WC_CASE_TYPE(code) == WC_CASE_OR) && do_exec)); } -- cgit 1.4.1