src/audio/esd/SDL_esdaudio.c
changeset 864 0c892e99b65b
parent 769 b8d311d90021
child 1312 c9b51268668f
--- a/src/audio/esd/SDL_esdaudio.c	Tue Mar 02 12:38:27 2004 +0000
+++ b/src/audio/esd/SDL_esdaudio.c	Tue Mar 02 12:45:22 2004 +0000
@@ -101,7 +101,7 @@
 		retval = 0;
 		for ( i=0; i<SDL_TABLESIZE(esd_functions); ++i ) {
 			*esd_functions[i].func = SDL_LoadFunction(esd_handle, esd_functions[i].name);
-			if ( ! esd_functions[i].func ) {
+			if ( !*esd_functions[i].func ) {
 				retval = -1;
 				UnloadESDLibrary();
 				break;