aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-28 13:08:15 -0800
committerChris Robinson <[email protected]>2009-12-28 13:08:15 -0800
commit69ab93a8240d6272c3fbd86e65b7baca516ec8de (patch)
tree6d257345dc5eee5dd6a8324ce774aa18b7890e50 /Alc/wave.c
parent179b660eee8cfc958057cb237019a939c3361fbb (diff)
Add a function to check if a config option is set to a non-empty value
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 1d2a39d2..5496e16e 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -341,7 +341,7 @@ void alc_wave_deinit(void)
void alc_wave_probe(int type)
{
- if(*(GetConfigValue("wave", "file", "")) == 0)
+ if(!ConfigValueExists("wave", "file"))
return;
if(type == DEVICE_PROBE)