diff options
author | Bertrand Augereau | 2009-05-01 09:09:07 +0000 |
---|---|---|
committer | Bertrand Augereau | 2009-05-01 09:09:07 +0000 |
commit | bb2540a4d11a9ed66ef40b193fb6b2f89d75326c (patch) | |
tree | 0d048fb5b883f75df6af41d8a84e7dfb08cda292 /backends/platform/sdl/events.cpp | |
parent | 912b3f64bbefa9fc9db3ec10f44f7e43164a51f6 (diff) | |
download | scummvm-rg350-bb2540a4d11a9ed66ef40b193fb6b2f89d75326c.tar.gz scummvm-rg350-bb2540a4d11a9ed66ef40b193fb6b2f89d75326c.tar.bz2 scummvm-rg350-bb2540a4d11a9ed66ef40b193fb6b2f89d75326c.zip |
Renamed aspectRatio to aspectRatioCorrection in the SDL backend to match the accessor functions
(don't worry, o reader, for this is the only modification going to the SVN :) )
svn-id: r40226
Diffstat (limited to 'backends/platform/sdl/events.cpp')
-rw-r--r-- | backends/platform/sdl/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index c520defdb5..b04acc2f64 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -80,7 +80,7 @@ void OSystem_SDL::fillMouseEvent(Common::Event &event, int x, int y) { if (!_overlayVisible) { event.mouse.x /= _videoMode.scaleFactor; event.mouse.y /= _videoMode.scaleFactor; - if (_videoMode.aspectRatio) + if (_videoMode.aspectRatioCorrection) event.mouse.y = aspect2Real(event.mouse.y); } } |