src/video/android/SDL_androidwindow.c
changeset 7037 3fedf1f25b94
parent 6885 700f1b25f77f
child 7163 55eb3d3135eb
     1.1 --- a/src/video/android/SDL_androidwindow.c	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/video/android/SDL_androidwindow.c	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -31,8 +31,7 @@
     1.4  Android_CreateWindow(_THIS, SDL_Window * window)
     1.5  {
     1.6      if (Android_Window) {
     1.7 -        SDL_SetError("Android only supports one window");
     1.8 -        return -1;
     1.9 +        return SDL_SetError("Android only supports one window");
    1.10      }
    1.11      Android_Window = window;
    1.12      Android_PauseSem = SDL_CreateSemaphore(0);