From 780bc1103a48f1701eef4f5f940811ff5e4fa113 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 2 Jun 2013 14:18:26 +0200 Subject: [PATCH] Changed haptic test program to use announced effect type. --- test/testhaptic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testhaptic.c b/test/testhaptic.c index 2a8c2f42c..e832815b7 100644 --- a/test/testhaptic.c +++ b/test/testhaptic.c @@ -145,7 +145,7 @@ main(int argc, char **argv) /* 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;