소스 검색

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
(cherry picked from commit c6dd54e8500b131a9dd53593afe009976ff3927f)
Andrei Pelinescu-Onciul 16 년 전
부모
커밋
a903310918
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }