lqst commit

This commit is contained in:
owein 2020-11-09 19:41:00 +01:00 committed by yvain douard
commit 5697d99476

2
bfg.c
View file

@ -226,7 +226,7 @@ char *bf_next() {
pos--;
}
if (pos < 0) {
if (pos < 0 || pos >= bf_options.current) {
bf_options.current++;
memset((char *)bf_options.state, 0, sizeof(bf_options.state));
}