diff options
Diffstat (limited to 'src/frontend/mame/ui/filecreate.cpp')
-rw-r--r-- | src/frontend/mame/ui/filecreate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/filecreate.cpp b/src/frontend/mame/ui/filecreate.cpp index 9928829ecf5..157b19bec9a 100644 --- a/src/frontend/mame/ui/filecreate.cpp +++ b/src/frontend/mame/ui/filecreate.cpp @@ -205,7 +205,7 @@ void menu_file_create::handle() if ((event->itemref == ITEMREF_CREATE) || (event->itemref == ITEMREF_NEW_IMAGE_NAME)) { std::string tmp_file(m_filename); - if (tmp_file.find(".") != -1 && tmp_file.find(".") < tmp_file.length() - 1) + if (tmp_file.find('.') != -1 && tmp_file.find('.') < tmp_file.length() - 1) { m_current_file = m_filename; stack_pop(); |