aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 3ea5e38a..2c87809d 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1188,7 +1188,7 @@ ALC_API ALCenum ALC_APIENTRY alcGetEnumValue(ALCdevice *device, const ALCchar *e
return (ALCenum)0;
}
- while(enumeration[i].enumName && strcmp(enumeration[i].enumName,enumName) == 0)
+ while(enumeration[i].enumName && strcmp(enumeration[i].enumName,enumName) != 0)
i++;
return enumeration[i].value;
}