changeset 83:2b5ba7f33840

Stopped using SDL_OutOfMemory().
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 25 Sep 2001 21:25:14 +0000
parents 7505dcf8d3b7
children 0e7579fb4ea3
files extra_rwops.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 */