Mercurial > sdl-ios-xcode
comparison src/haptic/win32/SDL_syshaptic.c @ 2589:1154ad945d94 gsoc2008_force_feedback
Fixed typo.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Mon, 04 Aug 2008 17:09:45 +0000 |
parents | 57bd3e462138 |
children | a4410ff43f41 |
comparison
equal
deleted
inserted
replaced
2588:57bd3e462138 | 2589:1154ad945d94 |
---|---|
281 /* Set data format. */ | 281 /* Set data format. */ |
282 ret = IDirectInputDevice2_SetDataFormat( haptic->hwdata->device, | 282 ret = IDirectInputDevice2_SetDataFormat( haptic->hwdata->device, |
283 &c_dfDIJoystick2 ); | 283 &c_dfDIJoystick2 ); |
284 if (FAILED(ret)) { | 284 if (FAILED(ret)) { |
285 DI_SetError("Setting data format",ret); | 285 DI_SetError("Setting data format",ret); |
286 goto query_error; | 286 goto query_err; |
287 } | 287 } |
288 | 288 |
289 /* Acquire the device. */ | 289 /* Acquire the device. */ |
290 ret = IDirectInputDevice2_Acquire(haptic->hwdata->device); | 290 ret = IDirectInputDevice2_Acquire(haptic->hwdata->device); |
291 if (FAILED(ret)) { | 291 if (FAILED(ret)) { |