src/events/SDL_events.c
changeset 7037 3fedf1f25b94
parent 6977 b73d51026c68
child 7077 f8e3dcefed59
child 8461 ca8dad9be3d4
     1.1 --- a/src/events/SDL_events.c	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/events/SDL_events.c	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -244,8 +244,7 @@
     1.4          }
     1.5          SDL_UnlockMutex(SDL_EventQ.lock);
     1.6      } else {
     1.7 -        SDL_SetError("Couldn't lock event queue");
     1.8 -        used = -1;
     1.9 +        return SDL_SetError("Couldn't lock event queue");
    1.10      }
    1.11      return (used);
    1.12  }