SDL/src/haptic
Ryan C. Gordon 16cdc59bab Make SDL_SetError and friends unconditionally return -1.
This lets us change things like this...

    if (Failed) {
        SDL_SetError("We failed");
        return -1;
    }

...into this...

    if (Failed) {
        return SDL_SetError("We failed");
    }


 Fixes Bugzilla #1778.
2013-03-31 12:48:50 -04:00
..
darwin Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
dummy Happy New Year! 2013-02-15 08:47:44 -08:00
linux Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
windows Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_haptic_c.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_haptic.c Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_syshaptic.h Happy New Year! 2013-02-15 08:47:44 -08:00