aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 2c0552b6..bfea9947 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -140,7 +140,7 @@ void pulse_load(void) //{{{
#define LOAD_FUNC(x) do { \
p##x = dlsym(pa_handle, #x); \
- if((err=dlerror() != NULL) { \
+ if((err=dlerror()) != NULL) { \
AL_PRINT("Could not load %s from libpulse: %s\n", #x, err); \
dlclose(pa_handle); \
pa_handle = NULL; \