Parcourir la source

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 il y a 16 ans
Parent
commit
c6dd54e850
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      dset.c

+ 1 - 0
dset.c

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