diff options
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |