Mercurial > sdl-ios-xcode
changeset 2653:54b892b6abb5 gsoc2008_force_feedback
Fixed haptic dummy driver not compiling with some compilers.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Mon, 25 Aug 2008 20:49:36 +0000 |
parents | 380d926cc5a7 |
children | 119b676a2600 |
files | src/haptic/dummy/SDL_syshaptic.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/haptic/dummy/SDL_syshaptic.c Mon Aug 25 17:30:39 2008 +0000 +++ b/src/haptic/dummy/SDL_syshaptic.c Mon Aug 25 20:49:36 2008 +0000 @@ -30,7 +30,8 @@ static int SDL_SYS_LogicError(void) { - SDL_SetError("Logic error: No haptic devices available.");; + SDL_SetError("Logic error: No haptic devices available."); + return 0; }