aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-24 23:48:38 -0700
committerChris Robinson <[email protected]>2010-03-24 23:48:38 -0700
commit05098862c56e1eb82cb00720e5c72f4b5f25cbca (patch)
tree742278672f80200fa8134e734c6c6c865ca7f4fd /Alc
parentc8dd0246daae57ca09a7214348303b4bda1a60f6 (diff)
Fix comparison check
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;
}