diff options
author | Filippos Karapetis | 2014-10-28 15:37:45 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-10-28 15:38:52 +0200 |
commit | daf110c86709a3e1899b4d1ae4d50efdf9ec9549 (patch) | |
tree | 82094bc27b396a5a50441ab1620285af1ba1e5d9 | |
parent | d2c69a79fe1a728ee17ca415ffce1720dae7fe99 (diff) | |
download | scummvm-rg350-daf110c86709a3e1899b4d1ae4d50efdf9ec9549.tar.gz scummvm-rg350-daf110c86709a3e1899b4d1ae4d50efdf9ec9549.tar.bz2 scummvm-rg350-daf110c86709a3e1899b4d1ae4d50efdf9ec9549.zip |
COMMON: Remove trailing whitespace
-rw-r--r-- | common/EventMapper.cpp | 6 | ||||
-rw-r--r-- | common/scummsys.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/EventMapper.cpp b/common/EventMapper.cpp index b92116cbe7..cf65946d50 100644 --- a/common/EventMapper.cpp +++ b/common/EventMapper.cpp @@ -45,7 +45,7 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) { if (ev.type == EVENT_MBUTTONUP) { if ((g_system->getMillis() - vkeybdThen) >= vkeybdTime) { mappedEvent.type = EVENT_VIRTUAL_KEYBOARD; - + // Avoid blocking event from engine. addDelayedEvent(100, ev); } @@ -59,7 +59,7 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) { #ifdef ENABLE_VKEYBD else if (ev.kbd.hasFlags(KBD_CTRL) && ev.kbd.keycode == KEYCODE_F7) { mappedEvent.type = EVENT_VIRTUAL_KEYBOARD; - + // Avoid blocking CTRL-F7 events from engine. addDelayedEvent(100, ev); } @@ -67,7 +67,7 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) { #ifdef ENABLE_KEYMAPPER else if (ev.kbd.hasFlags(KBD_CTRL) && ev.kbd.keycode == KEYCODE_F8) { mappedEvent.type = EVENT_KEYMAPPER_REMAP; - + // Avoid blocking CTRL-F8 events from engine. addDelayedEvent(100, ev); } diff --git a/common/scummsys.h b/common/scummsys.h index c30bc4a52a..0c4687e03e 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -148,7 +148,7 @@ #endif #endif -// The following math constants are usually defined by the system math.h header, but +// The following math constants are usually defined by the system math.h header, but // they are not part of the ANSI C++ standards and so can NOT be relied upon to be // present i.e. when -std=c++11 is passed to GCC, enabling strict ANSI compliance. // As we rely on these being present, we define them if they are not set. |