aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r--src/adlmidi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index 61b6daa..02e78c6 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -2610,7 +2610,7 @@ ADLMIDI_EXPORT void adl_setLoopEnabled(ADL_MIDIPlayer *device, int loopEn)
{
if(!device) return;
- device->QuitWithoutLooping = (loopEn != 0);
+ device->QuitWithoutLooping = (loopEn == 0);
}
ADLMIDI_EXPORT void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *device, int logvol)