aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/adlmidi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index d0ce7e5..0426a0f 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -278,7 +278,7 @@ ADLMIDI_EXPORT int adl_getBank(ADL_MIDIPlayer *device, const ADL_BankId *idp, in
value.second.ins[i].flags = adlinsdata::Flag_NoSound;
std::pair<Synth::BankMap::iterator, bool> ir;
- if(flags & ADLMIDI_Bank_CreateRt)
+ if((flags & ADLMIDI_Bank_CreateRt) == ADLMIDI_Bank_CreateRt)
{
ir = map.insert(value, Synth::BankMap::do_not_expand_t());
if(ir.first == map.end())