Fixed haptic dummy driver not compiling with some compilers. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 25 Aug 2008 20:49:36 +0000
branchgsoc2008_force_feedback
changeset 265354b892b6abb5
parent 2652 380d926cc5a7
child 4410 119b676a2600
Fixed haptic dummy driver not compiling with some compilers.
src/haptic/dummy/SDL_syshaptic.c
     1.1 --- a/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 17:30:39 2008 +0000
     1.2 +++ b/src/haptic/dummy/SDL_syshaptic.c	Mon Aug 25 20:49:36 2008 +0000
     1.3 @@ -30,7 +30,8 @@
     1.4  static int
     1.5  SDL_SYS_LogicError(void)
     1.6  {
     1.7 -   SDL_SetError("Logic error: No haptic devices available.");;
     1.8 +   SDL_SetError("Logic error: No haptic devices available.");
     1.9 +   return 0;
    1.10  }
    1.11  
    1.12