use SDL_zeroa at more places where the argument is an array.

This commit is contained in:
Ozkan Sezer
2019-07-31 05:11:40 +03:00
parent 7a47c292c0
commit 4953e050f5
12 changed files with 18 additions and 18 deletions

View File

@@ -223,7 +223,7 @@ SDL_JoystickThread(void *_data)
#if SDL_JOYSTICK_XINPUT
SDL_bool bOpenedXInputDevices[XUSER_MAX_COUNT];
SDL_zero(bOpenedXInputDevices);
SDL_zeroa(bOpenedXInputDevices);
#endif
if (SDL_CreateDeviceNotification(&notification_data) < 0) {