Merge branch 'master' into sdl2.0

Some things are still WIP, they need to be tested and addressed later.
This commit is contained in:
Pere Pujal i Carabantes 2022-02-17 23:57:28 +01:00
commit eb7f55e289
145 changed files with 24137 additions and 9582 deletions

View file

@ -455,6 +455,7 @@ static int sm_add(STATE_MACHINE * sm, char *seq, const wchar_t * unicode, char f
return 1;
}
sm_init(next->state);
sm_found = next->state;
/* Increase store for next time, if necessary */
if (++(sm->next_size) >= sm->next_maxsize)
@ -465,8 +466,6 @@ static int sm_add(STATE_MACHINE * sm, char *seq, const wchar_t * unicode, char f
return 1;
}
}
sm_found = next->state;
}
/* Recurse */