src/haptic/SDL_haptic.c
changeset 8974 f813b8b10b55
parent 8170 3b7bb407fcf7
child 9619 b94b6d0bff0f
     1.1 --- a/src/haptic/SDL_haptic.c	Fri Jul 04 18:20:23 2014 -0400
     1.2 +++ b/src/haptic/SDL_haptic.c	Fri Jul 04 17:20:22 2014 -0700
     1.3 @@ -343,7 +343,7 @@
     1.4      }
     1.5  
     1.6      /* Check if it's still in use */
     1.7 -    if (--haptic->ref_count < 0) {
     1.8 +    if (--haptic->ref_count > 0) {
     1.9          return;
    1.10      }
    1.11