# HG changeset patch # User Edgar Simo # Date 1215450074 0 # Node ID 84a634009a834682e2b6797d1d6fa2c91288f945 # Parent 5356ca0c36a36beb714ea7a0eea8ea1ea4088cbf Another important typo mistake. diff -r 5356ca0c36a3 -r 84a634009a83 src/haptic/linux/SDL_syshaptic.c --- a/src/haptic/linux/SDL_syshaptic.c Mon Jul 07 16:58:16 2008 +0000 +++ b/src/haptic/linux/SDL_syshaptic.c Mon Jul 07 17:01:14 2008 +0000 @@ -451,13 +451,13 @@ condition = &src->condition; /* Header */ - if (dest->type == SDL_HAPTIC_SPRING) + if (condition->type == SDL_HAPTIC_SPRING) dest->type = FF_SPRING; - else if (dest->type == SDL_HAPTIC_DAMPER) + else if (condition->type == SDL_HAPTIC_DAMPER) dest->type = FF_DAMPER; - else if (dest->type == SDL_HAPTIC_INERTIA) + else if (condition->type == SDL_HAPTIC_INERTIA) dest->type = FF_INERTIA; - else if (dest->type == SDL_HAPTIC_FRICTION) + else if (condition->type == SDL_HAPTIC_FRICTION) dest->type = FF_FRICTION; dest->direction = 0; /* Handled by the condition-specifics. */