From 139c67d6cd2281272610295b1499cca72c23ff93 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sat, 1 Jun 2013 23:15:52 +0200 Subject: [PATCH] Fix precedence --- Sources/VLMMAWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/VLMMAWriter.cpp b/Sources/VLMMAWriter.cpp index aa680c9..c8bb018 100644 --- a/Sources/VLMMAWriter.cpp +++ b/Sources/VLMMAWriter.cpp @@ -233,8 +233,8 @@ void VLMMAWriter::VisitChord(VLChord & c) size_t bestBits = 32; size_t bestScore= 0; for (size_t i=0; kMMAModifiers[i].fName; ++i) { - uint32_t steps = (VLChord::kmUnison | VLChord::kmMaj3rd | VLChord::km5th) - | kMMAModifiers[i].fAddSteps + uint32_t steps = ((VLChord::kmUnison | VLChord::kmMaj3rd | VLChord::km5th) + | kMMAModifiers[i].fAddSteps) &~kMMAModifiers[i].fDelSteps; if (c.fSteps == steps) { //