mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed style
This commit is contained in:
parent
20df88a85b
commit
2d855e12d2
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ static bool HIDAPI_DriverLg4ff_IsSupportedDevice(
|
|||
return true;
|
||||
}
|
||||
// a supported native mode is found, send mode change command, then still state that we support the device
|
||||
if (device != NULL && SDL_HIDAPI_DriverLg4ff_GetEnvInt("SDL_HIDAPI_LG4FF_NO_MODE_SWITCH", 0, 1, 0) == 0) {
|
||||
if (device && SDL_HIDAPI_DriverLg4ff_GetEnvInt("SDL_HIDAPI_LG4FF_NO_MODE_SWITCH", 0, 1, 0) == 0) {
|
||||
HIDAPI_DriverLg4ff_SwitchMode(device, real_id);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue