Mercurial > SDL_sound_CoreAudio
diff extra_rwops.c @ 83:2b5ba7f33840
Stopped using SDL_OutOfMemory().
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 25 Sep 2001 21:25:14 +0000 |
parents | dca15bb29d35 |
children | 47cc2de2ae36 |
line wrap: on
line diff
--- a/extra_rwops.c Tue Sep 25 21:02:20 2001 +0000 +++ b/extra_rwops.c Tue Sep 25 21:25:14 2001 +0000 @@ -110,7 +110,7 @@ data = (RWRefCounterData *) malloc(sizeof (RWRefCounterData)); if (data == NULL) { - SDL_OutOfMemory(); + SDL_SetError("Out of memory."); SDL_FreeRW(retval); retval = NULL; } /* if */