Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Another important typo mistake.
  • Loading branch information
bobbens committed Jul 7, 2008
1 parent f9a5701 commit 28cd9c72eaa913ac641598d5bbae2e2fac5cfca5
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/haptic/linux/SDL_syshaptic.c
@@ -451,13 +451,13 @@ SDL_SYS_ToFFEffect( struct ff_effect * dest, SDL_HapticEffect * src )
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. */

0 comments on commit 28cd9c7

Please sign in to comment.