diff src/haptic/win32/SDL_syshaptic.c @ 2620:4d91a53c6f8a gsoc2008_force_feedback

Forgot a return.
author Edgar Simo <bobbens@gmail.com>
date Wed, 06 Aug 2008 09:24:08 +0000
parents fb71df34124f
children 83659de20bf2
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 09:23:22 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 09:24:08 2008 +0000
@@ -355,6 +355,7 @@
       SDL_free(haptic->hwdata);
       haptic->hwdata = NULL;                                              
    }
+   return -1;
 }