mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 14:38:29 +00:00
Code cleanup now that SDL_bool is equivalent to a C boolean expression
This commit is contained in:
@@ -115,7 +115,7 @@ void SDL_UnlockSensors(void)
|
||||
|
||||
SDL_bool SDL_SensorsLocked(void)
|
||||
{
|
||||
return (SDL_sensors_locked > 0) ? SDL_TRUE : SDL_FALSE;
|
||||
return (SDL_sensors_locked > 0);
|
||||
}
|
||||
|
||||
void SDL_AssertSensorsLocked(void)
|
||||
|
Reference in New Issue
Block a user