# HG changeset patch # User Sam Lantinga # Date 1078231522 0 # Node ID 0c892e99b65b0480937572c35f1e54200c65231d # Parent a4853bc3b4f8020509f2d5435b9b739f797b8bfd 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 )? diff -r a4853bc3b4f8 -r 0c892e99b65b src/audio/arts/SDL_artsaudio.c --- a/src/audio/arts/SDL_artsaudio.c Tue Mar 02 12:38:27 2004 +0000 +++ b/src/audio/arts/SDL_artsaudio.c Tue Mar 02 12:45:22 2004 +0000 @@ -106,7 +106,7 @@ retval = 0; for ( i=0; i