src/audio/arts/SDL_artsaudio.c
changeset 864 0c892e99b65b
parent 769 b8d311d90021
child 929 03fb90fc135e
--- 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<SDL_TABLESIZE(arts_functions); ++i ) {
 			*arts_functions[i].func = SDL_LoadFunction(arts_handle, arts_functions[i].name);
-			if ( ! arts_functions[i].func ) {
+			if ( !*arts_functions[i].func ) {
 				retval = -1;
 				UnloadARTSLibrary();
 				break;