Commit e5467af7c89279c988aa770b358c5ed72b4fdb2a

Sylvain 2021-11-23T09:42:07

Minor change comment

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_haptic.h b/include/SDL_haptic.h
index 26e996a..4fabba6 100644
--- a/include/SDL_haptic.h
+++ b/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