Mac: Fix error message for haptic subsystem.

We were calling SDL_Error instead of SDL_SetError when the haptic subsystem
wasn't initialized.
main
J?rgen P. Tjern? 2014-02-25 17:25:49 -08:00
parent 95f7e242e6
commit 98d8737961
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ SDL_SYS_HapticInit(void)
io_service_t device; io_service_t device;
if (numhaptics != -1) { if (numhaptics != -1) {
return SDL_Error("Haptic subsystem already initialized!"); return SDL_SetError("Haptic subsystem already initialized!");
} }
numhaptics = 0; numhaptics = 0;