diff options
author | rsn8887 | 2017-02-18 12:25:47 -0600 |
---|---|---|
committer | rsn8887 | 2017-02-18 18:20:10 -0600 |
commit | c0b095d793cf2ffa71830cc7d1ebb153ac70eccb (patch) | |
tree | b1c2c3c7ee479f1f03739238f540e14789cd2ee7 /backends/events/maemosdl | |
parent | 75004c429c2eb114b28cbb8adb10c6e34b2716c0 (diff) | |
download | scummvm-rg350-c0b095d793cf2ffa71830cc7d1ebb153ac70eccb.tar.gz scummvm-rg350-c0b095d793cf2ffa71830cc7d1ebb153ac70eccb.tar.bz2 scummvm-rg350-c0b095d793cf2ffa71830cc7d1ebb153ac70eccb.zip |
SDL: Cleanup, replaced _km.multiplier with #define
Diffstat (limited to 'backends/events/maemosdl')
-rw-r--r-- | backends/events/maemosdl/maemosdl-events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/events/maemosdl/maemosdl-events.cpp b/backends/events/maemosdl/maemosdl-events.cpp index a1f2f4123c..e864c7d81c 100644 --- a/backends/events/maemosdl/maemosdl-events.cpp +++ b/backends/events/maemosdl/maemosdl-events.cpp @@ -96,7 +96,7 @@ bool MaemoSdlEventSource::remapKey(SDL_Event &ev, Common::Event &event) { } } else if (ev.key.keysym.sym == SDLK_F7) { event.type = Common::EVENT_RBUTTONDOWN; - processMouseEvent(event, _km.x / _km.multiplier, _km.y / _km.multiplier); + processMouseEvent(event, _km.x / MULTIPLIER, _km.y / MULTIPLIER); debug(9, "remapping to right click down"); return true; } else if (ev.key.keysym.sym == SDLK_F8) { @@ -134,7 +134,7 @@ bool MaemoSdlEventSource::remapKey(SDL_Event &ev, Common::Event &event) { } } else if (ev.key.keysym.sym == SDLK_F7) { event.type = Common::EVENT_RBUTTONUP; - processMouseEvent(event, _km.x / _km.multiplier, _km.y / _km.multiplier); + processMouseEvent(event, _km.x / MULTIPLIER, _km.y / MULTIPLIER); debug(9, "remapping to right click up"); return true; } else if (ev.key.keysym.sym == SDLK_F8) { |