Explorar o código

core: re-initialize branch 0 flags for each new message

Fixes branch 0 flags being "remembered" from previous script
invocations.

Reported-by: Juha Heinanen  jh at tutpro com
Andrei Pelinescu-Onciul %!s(int64=16) %!d(string=hai) anos
pai
achega
c6dd54e850
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      dset.c

+ 1 - 0
dset.c

@@ -231,6 +231,7 @@ void clear_branches(void)
 {
 	nr_branches = 0;
 	ruri_q = Q_UNSPECIFIED;
+	ruri_bflags = 0;
 }