diff options
author | Chris Robinson <[email protected]> | 2009-12-28 13:08:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-28 13:08:15 -0800 |
commit | 69ab93a8240d6272c3fbd86e65b7baca516ec8de (patch) | |
tree | 6d257345dc5eee5dd6a8324ce774aa18b7890e50 /Alc/wave.c | |
parent | 179b660eee8cfc958057cb237019a939c3361fbb (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |