diff options
author | 2016-07-31 19:23:49 +0200 | |
---|---|---|
committer | 2016-07-31 20:02:56 +0200 | |
commit | 6f5e223853eceb25a542c81d86c5cc9c715e3879 (patch) | |
tree | 21f6aabcbe586f330d895b19f224bbc08f145321 /src/osd/modules/input/input_win32.cpp | |
parent | 49bd91f3dee2a7a3e18dcc5be4ae5ea6d116157b (diff) |
for bool type use true and false (nw)
Diffstat (limited to 'src/osd/modules/input/input_win32.cpp')
-rw-r--r-- | src/osd/modules/input/input_win32.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/modules/input/input_win32.cpp b/src/osd/modules/input/input_win32.cpp index dc9b95b3f28..ce1cf4e883f 100644 --- a/src/osd/modules/input/input_win32.cpp +++ b/src/osd/modules/input/input_win32.cpp @@ -95,7 +95,7 @@ public: bool handle_input_event(input_event eventid, void *eventdata) override { if (!input_enabled()) - return FALSE; + return false; KeyPressEventArgs *args; @@ -107,10 +107,10 @@ public: for (int i = 0; i < devicelist()->size(); i++) downcast<win32_keyboard_device*>(devicelist()->at(i))->queue_events(args, 1); - return TRUE; + return true; default: - return FALSE; + return false; } } }; @@ -231,13 +231,13 @@ public: bool handle_input_event(input_event eventid, void *eventdata) override { if (!input_enabled() || !mouse_enabled() || eventid != INPUT_EVENT_MOUSE_BUTTON) - return FALSE; + return false; auto args = static_cast<MouseButtonEventArgs*>(eventdata); for (int i = 0; i < devicelist()->size(); i++) downcast<win32_mouse_device*>(devicelist()->at(i))->queue_events(args, 1); - return TRUE; + return true; } }; |