summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/ui.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-10-10 03:11:01 +1100
committer Vas Crabb <vas@vastheman.com>2020-10-10 03:11:01 +1100
commitd822e7ec4ad29eeb7724e9249ef97a7220f541e0 (patch)
tree3db9fd33235502b2bef495a342efb949f813de24 /src/frontend/mame/ui/ui.cpp
parent7ae53fff264c9d4c75a06a2edebd5346590e138b (diff)
Miscellaneous cleanup:
* osd/windows: Use steady clock for timing double-clicks. * emu/uiinput.cpp: Made the event type a scoped enum.
Diffstat (limited to 'src/frontend/mame/ui/ui.cpp')
-rw-r--r--src/frontend/mame/ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp
index d65cf9c581b..90efcb04b7c 100644
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -1004,7 +1004,7 @@ void mame_ui_manager::process_natural_keyboard()
while (machine().ui_input().pop_event(&event))
{
// if this was a UI_EVENT_CHAR event, post it
- if (event.event_type == ui_event::IME_CHAR)
+ if (event.event_type == ui_event::type::IME_CHAR)
machine().ioport().natkeyboard().post_char(event.ch);
}