mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Added braces for clarity.
svn-id: r18295
This commit is contained in:
parent
e9c71f3a98
commit
9ffe00b78d
@ -1414,7 +1414,7 @@ void OSystem_SDL::toggleMouseGrab() {
|
||||
void OSystem_SDL::undrawMouse() {
|
||||
// When we switch bigger overlay off mouse jumps. Argh!
|
||||
// this intended to prevent undrawing offscreen mouse
|
||||
if (!_overlayVisible)
|
||||
if (!_overlayVisible) {
|
||||
if (_adjustAspectRatio) {
|
||||
if (_mouseBackup.x > _screenWidth || aspect2Real(_mouseBackup.y) > _screenHeight)
|
||||
return;
|
||||
@ -1422,6 +1422,7 @@ void OSystem_SDL::undrawMouse() {
|
||||
if (_mouseBackup.x > _screenWidth || _mouseBackup.y > _screenHeight)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (_mouseBackup.w) {
|
||||
if (_adjustAspectRatio)
|
||||
|
Loading…
x
Reference in New Issue
Block a user