# HG changeset patch # User Ryan C. Gordon # Date 1001453114 0 # Node ID 2b5ba7f338403d4e706fb8fc9cc710dcefef8d17 # Parent 7505dcf8d3b777c21de15461922a3cb55a1b3f86 Stopped using SDL_OutOfMemory(). diff -r 7505dcf8d3b7 -r 2b5ba7f33840 extra_rwops.c --- 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 */