diff options
author | 2015-11-14 12:54:08 +0100 | |
---|---|---|
committer | 2015-11-14 19:05:18 +0100 | |
commit | 61d05aacb8e680d998ffccd9306b859555db5d26 (patch) | |
tree | f18b770af12e7e37b56981a810d378aec5508b1b /src/emu/ui/ui.cpp | |
parent | 904e13184ceee03c49219528ee0000774b9dd452 (diff) |
Fixed some suggestions by ReSharper C++ (nw)
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index 046aa8bfa18..0f59220ccc8 100644 --- a/src/emu/ui/ui.cpp +++ b/src/emu/ui/ui.cpp @@ -1713,15 +1713,15 @@ UINT32 ui_manager::handler_load_save(running_machine &machine, render_container } // check for A-Z or 0-9 - for (input_item_id id = ITEM_ID_A; id <= ITEM_ID_Z; id++) + for (input_item_id id = ITEM_ID_A; id <= ITEM_ID_Z; ++id) if (machine.input().code_pressed_once(input_code(DEVICE_CLASS_KEYBOARD, 0, ITEM_CLASS_SWITCH, ITEM_MODIFIER_NONE, id))) file = id - ITEM_ID_A + 'a'; if (file == 0) - for (input_item_id id = ITEM_ID_0; id <= ITEM_ID_9; id++) + for (input_item_id id = ITEM_ID_0; id <= ITEM_ID_9; ++id) if (machine.input().code_pressed_once(input_code(DEVICE_CLASS_KEYBOARD, 0, ITEM_CLASS_SWITCH, ITEM_MODIFIER_NONE, id))) file = id - ITEM_ID_0 + '0'; if (file == 0) - for (input_item_id id = ITEM_ID_0_PAD; id <= ITEM_ID_9_PAD; id++) + for (input_item_id id = ITEM_ID_0_PAD; id <= ITEM_ID_9_PAD; ++id) if (machine.input().code_pressed_once(input_code(DEVICE_CLASS_KEYBOARD, 0, ITEM_CLASS_SWITCH, ITEM_MODIFIER_NONE, id))) file = id - ITEM_ID_0_PAD + '0'; if (file == 0) |