Forráskód Böngészése

Minor change comment

Sylvain 3 éve
szülő
commit
e5467af7c8
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      include/SDL_haptic.h

+ 1 - 1
include/SDL_haptic.h

@@ -76,7 +76,7 @@
  *    }
  *
  *    // Create the effect
- *    memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
+ *    SDL_memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
  *    effect.type = SDL_HAPTIC_SINE;
  *    effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates
  *    effect.periodic.direction.dir[0] = 18000; // Force comes from south