vcruntime140_1: Don't terminate on state of -1.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2020-06-03 11:09:31 +02:00 committed by Alexandre Julliard
parent 94b25a47ba
commit 7d2675d199
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ static void cxx_local_unwind4(ULONG64 frame, DISPATCHER_CONTEXT *dispatch,
TRACE("current level: %d, last level: %d\n", trylevel, last_level);
if (trylevel<0 || trylevel>=descr->unwind_count)
if (trylevel<-1 || trylevel>=descr->unwind_count)
{
ERR("invalid trylevel %d\n", trylevel);
terminate();