diff options
author | 2016-12-25 13:54:27 +1100 | |
---|---|---|
committer | 2016-12-25 13:57:31 +1100 | |
commit | 127fd9b427df4c1af31e3513e32f14c80e3d29cc (patch) | |
tree | ef6bd2e4747e1a1a49895a47a8d9f1e7f37dbeca /src/frontend/mame/ui/filesel.cpp | |
parent | ad50cf5fd48de1baf9334a8d844fe456b5799b5b (diff) |
first srcclean pass (nw)
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-rw-r--r-- | src/frontend/mame/ui/filesel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp index 2efe4e0e24f..6bd84863db7 100644 --- a/src/frontend/mame/ui/filesel.cpp +++ b/src/frontend/mame/ui/filesel.cpp @@ -336,7 +336,7 @@ void menu_file_selector::populate(float &customtop, float &custombottom) // mark first filename entry first = m_entrylist.size() + 1; - + // build the menu for each item if (err == osd_file::error::NONE) { @@ -361,7 +361,7 @@ void menu_file_selector::populate(float &customtop, float &custombottom) // sort the menu entries std::wstring_convert<std::codecvt_utf8<wchar_t>> conv; const std::collate<wchar_t>& coll = std::use_facet<std::collate<wchar_t>>(std::locale()); - std::sort(m_entrylist.begin()+first, m_entrylist.end(), [&coll, &conv](file_selector_entry const &x, file_selector_entry const &y) + std::sort(m_entrylist.begin()+first, m_entrylist.end(), [&coll, &conv](file_selector_entry const &x, file_selector_entry const &y) { std::wstring xstr = conv.from_bytes(x.basename); std::wstring ystr = conv.from_bytes(y.basename); |