From 1ba3e4ca3ef380ac3e7635e72b2b969389abd95b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 2 Mar 2004 12:45:22 +0000 Subject: [PATCH] Date: Sun, 29 Feb 2004 20:28:27 +0200 From: Martin_Storsj Subject: Slight bug in ESD and aRts When I experimented with the ALSA-patch, I found a slight bug in the Load{ESD,ARTS}Library-functions. The check of whether a function pointer was correctly loaded looks like this right now: *esd_functions[i].func = SDL_LoadFunction(esd_handle, esd_functions[i].name); if ( ! esd_functions[i].func ) Isn't that supposed to be ( ! *esd_functions[i].func )? --- src/audio/arts/SDL_artsaudio.c | 2 +- src/audio/esd/SDL_esdaudio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/arts/SDL_artsaudio.c b/src/audio/arts/SDL_artsaudio.c index 4e5eb693b..e4740b7f5 100644 --- a/src/audio/arts/SDL_artsaudio.c +++ b/src/audio/arts/SDL_artsaudio.c @@ -106,7 +106,7 @@ static int LoadARTSLibrary(void) retval = 0; for ( i=0; i