From f341f541f65c61c9f1f3d3019af8a062a9768105 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 19 May 2023 22:11:51 -0400 Subject: [PATCH] cwMidiState.cpp : Fix bug in _testCallback(). --- cwMidiState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwMidiState.cpp b/cwMidiState.cpp index 8a46502..197603f 100644 --- a/cwMidiState.cpp +++ b/cwMidiState.cpp @@ -1117,7 +1117,7 @@ namespace cw if( t->printMsgsFl && m->typeId == kMidiMsgTId ) { printf("%6.3f %2x %4i : %2i %2x %3i %3i :", secs, flags, m->u.midi.uid, m->u.midi.ch, m->u.midi.status, m->u.midi.d0, m->u.midi.d1 ); - for(unsigned i=0; flag_map[i].label==nullptr; ++i) + for(unsigned i=0; flag_map[i].label!=nullptr; ++i) if( cwIsFlag(flags,flag_map[i].flag) ) printf("%s ",flag_map[i].label); printf("\n");