aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/sf2load.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-01-20 16:42:23 -0800
committerChris Robinson <[email protected]>2015-01-20 16:42:23 -0800
commit0b6bb762597cec700ed42c4931514f7879bd3e99 (patch)
tree689a3a4e5f585b54cbf23ff854d456bafcb89d68 /Alc/midi/sf2load.c
parent199646ac2b26c06393fcd006148b67f147cdad3d (diff)
Fix variable check
Diffstat (limited to 'Alc/midi/sf2load.c')
-rw-r--r--Alc/midi/sf2load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c
index e9547462..8a54844a 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -750,7 +750,7 @@ static void fillZone(ALfontsound *sound, ALCcontext *context, const GenModList *
dst == AL_BASE_KEY_SOFT)
ERR("Unhandled modulator destination: %d\n", mod->mDstOp);
else if(src0in != AL_INVALID && src0form != AL_INVALID && src0type != AL_INVALID &&
- src1in != AL_INVALID && src1form != AL_INVALID && src0type != AL_INVALID &&
+ src1in != AL_INVALID && src1form != AL_INVALID && src1type != AL_INVALID &&
trans != AL_INVALID)
{
ALsizei idx = (ALsizei)(mod - VECTOR_ITER_BEGIN(zone->mods));