Fix spurious "there were no errors" reports in the verifier.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 Jan 2025 00:17:58 +0000 (01:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 Jan 2025 19:37:15 +0000 (20:37 +0100)
src/wx/verify_dcp_result_panel.cc

index 59e10793a9322be921f0550ece6a2552dae96d45..4cf44431c6ac499394ac4d6444129b5e6a2f2d1b 100644 (file)
@@ -173,6 +173,7 @@ VerifyDCPResultPanel::fill(shared_ptr<VerifyDCPJob> job)
        std::map<dcp::VerificationNote::Code, std::vector<dcp::VerificationNote>> notes_by_code;
 
        for (auto const& note: job->result().notes) {
+               counts[note.type()]++;
                auto type_iter = notes_by_code.find(note.code());
                if (type_iter != notes_by_code.end()) {
                        if (type_iter->second.size() < limit_per_type) {