mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 00:17:18 +00:00
Don't compare pointer against '0', but NULL
This commit is contained in:
@@ -318,7 +318,7 @@ ARTS_Init(SDL_AudioDriverImpl * impl)
|
||||
if (LoadARTSLibrary() < 0) {
|
||||
return SDL_FALSE;
|
||||
} else {
|
||||
if (SDL_NAME(arts_init) () != 0) {
|
||||
if (SDL_NAME(arts_init) () != NULL) {
|
||||
UnloadARTSLibrary();
|
||||
SDL_SetError("ARTS: arts_init failed (no audio server?)");
|
||||
return SDL_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user