diff options
author | Chris Robinson <[email protected]> | 2010-03-24 23:48:38 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-24 23:48:38 -0700 |
commit | 05098862c56e1eb82cb00720e5c72f4b5f25cbca (patch) | |
tree | 742278672f80200fa8134e734c6c6c865ca7f4fd /Alc | |
parent | c8dd0246daae57ca09a7214348303b4bda1a60f6 (diff) |
Fix comparison check
Diffstat (limited to 'Alc')
-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; } |