mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59: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:
parent
27b28ca55e
commit
9e1ba97f63
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue