From 68785dccfee3208163c8169abc5c6d01becf36d4 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 25 May 2016 08:19:21 +0200 Subject: Cleanups and version bump --- src/frontend/mame/ui/filemngr.cpp | 2 +- src/frontend/mame/ui/menuitem.h | 2 +- src/frontend/mame/ui/slider.h | 2 +- src/frontend/mame/ui/ui.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/mame/ui/filemngr.cpp b/src/frontend/mame/ui/filemngr.cpp index f031a2ef123..ac455d4c591 100644 --- a/src/frontend/mame/ui/filemngr.cpp +++ b/src/frontend/mame/ui/filemngr.cpp @@ -184,7 +184,7 @@ void ui_menu_file_manager::handle() if (floppy_device != nullptr) { ui_menu::stack_push(global_alloc_clear(ui(), container, floppy_device)); - } + } else { ui_menu::stack_push(global_alloc_clear(ui(), container, selected_device)); diff --git a/src/frontend/mame/ui/menuitem.h b/src/frontend/mame/ui/menuitem.h index 92ceab86628..3fac820b5e7 100644 --- a/src/frontend/mame/ui/menuitem.h +++ b/src/frontend/mame/ui/menuitem.h @@ -39,4 +39,4 @@ public: inline bool is_selectable() const; }; -#endif // __UI_MENUITEM__ \ No newline at end of file +#endif // __UI_MENUITEM__ diff --git a/src/frontend/mame/ui/slider.h b/src/frontend/mame/ui/slider.h index ef3622a0ee5..a7873db800a 100644 --- a/src/frontend/mame/ui/slider.h +++ b/src/frontend/mame/ui/slider.h @@ -33,4 +33,4 @@ struct slider_state char description[1]; /* textual description */ }; -#endif // __UI_SLIDER__ \ No newline at end of file +#endif // __UI_SLIDER__ diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp index 05ba0138210..e984d445163 100644 --- a/src/frontend/mame/ui/ui.cpp +++ b/src/frontend/mame/ui/ui.cpp @@ -2816,4 +2816,4 @@ void mame_ui_manager::save_main_option() void mame_ui_manager::menu_reset() { ui_menu::stack_reset(machine()); -} \ No newline at end of file +} -- cgit v1.2.3