Fix precedence

This commit is contained in:
Matthias Neeracher 2013-06-01 23:15:52 +02:00
parent 33529254f1
commit 139c67d6cd

View File

@ -233,8 +233,8 @@ void VLMMAWriter::VisitChord(VLChord & c)
size_t bestBits = 32; size_t bestBits = 32;
size_t bestScore= 0; size_t bestScore= 0;
for (size_t i=0; kMMAModifiers[i].fName; ++i) { for (size_t i=0; kMMAModifiers[i].fName; ++i) {
uint32_t steps = (VLChord::kmUnison | VLChord::kmMaj3rd | VLChord::km5th) uint32_t steps = ((VLChord::kmUnison | VLChord::kmMaj3rd | VLChord::km5th)
| kMMAModifiers[i].fAddSteps | kMMAModifiers[i].fAddSteps)
&~kMMAModifiers[i].fDelSteps; &~kMMAModifiers[i].fDelSteps;
if (c.fSteps == steps) { if (c.fSteps == steps) {
// //