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