test/testhaptic.c
changeset 7263 8d69588e0269
parent 6771 55337ff4256f
child 7517 965d57022c01
--- a/test/testhaptic.c	Sun Jun 02 14:13:21 2013 +0200
+++ b/test/testhaptic.c	Sun Jun 02 14:18:26 2013 +0200
@@ -145,7 +145,7 @@
     /* Now we'll try a SAWTOOTHUP */
     if (supported & SDL_HAPTIC_SAWTOOTHUP) {
         printf("   effect %d: Sawtooth Up\n", nefx);
-        efx[nefx].type = SDL_HAPTIC_SQUARE;
+        efx[nefx].type = SDL_HAPTIC_SAWTOOTHUP;
         efx[nefx].periodic.period = 500;
         efx[nefx].periodic.magnitude = 0x5000;
         efx[nefx].periodic.length = 5000;