Merge pull request #11645 from jdgleaver/dingux-typo

(sdl_dingux_joypad) Fix typo
This commit is contained in:
Autechre 2020-12-01 14:18:33 +01:00 committed by GitHub
commit df2d716147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ static bool sdl_dingux_rumble_init(dingux_joypad_rumble_t *rumble)
rumble->strong.effect.u.periodic.magnitude = 0;
rumble->strong.id = Shake_UploadEffect(rumble->device, &rumble->strong.effect);
if (rumble->weak.id == SHAKE_ERROR)
if (rumble->strong.id == SHAKE_ERROR)
goto error;
strong_uploaded = true;