comparison 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
comparison
equal deleted inserted replaced
2619:fb71df34124f 2620:4d91a53c6f8a
353 creat_err: 353 creat_err:
354 if (haptic->hwdata != NULL) { 354 if (haptic->hwdata != NULL) {
355 SDL_free(haptic->hwdata); 355 SDL_free(haptic->hwdata);
356 haptic->hwdata = NULL; 356 haptic->hwdata = NULL;
357 } 357 }
358 return -1;
358 } 359 }
359 360
360 361
361 /* 362 /*
362 * Opens the haptic device from the file descriptor. 363 * Opens the haptic device from the file descriptor.