1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix style of showmousecursor boolean check

Same-line brace (but not previous-line brace) AND an unnecessary boolean
comparison to constant boolean? Two-for-one whammy.
This commit is contained in:
Misa 2020-11-03 22:12:58 -08:00 committed by Ethan Lee
parent 27b28ca55e
commit 9e1ba97f63

View file

@ -4707,11 +4707,12 @@ void Game::loadstats(int *width, int *height, bool *vsync)
}
if (graphics.showmousecursor == true)
if (graphics.showmousecursor)
{
SDL_ShowCursor(SDL_ENABLE);
}
else {
else
{
SDL_ShowCursor(SDL_DISABLE);
}