src/video/psp/SDL_pspvideo.c
changeset 7037 3fedf1f25b94
parent 7009 161b7b6a5303
child 7135 20db445af8c7
--- a/src/video/psp/SDL_pspvideo.c	Fri Mar 29 21:29:57 2013 -0400
+++ b/src/video/psp/SDL_pspvideo.c	Sun Mar 31 12:48:50 2013 -0400
@@ -223,8 +223,7 @@
     /* Allocate window internal data */
     wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData));
     if (wdata == NULL) {
-        SDL_OutOfMemory();
-        return -1;
+        return SDL_OutOfMemory();
     }
 
     /* Setup driver data for this window */