From ac9ca1d020ae9d1f335f7bbb8876680d5fb41603 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 6 Oct 2021 07:14:18 +1100 Subject: -ui: Put software description on the left and sort by description by default. -osd/windows: Set locale on start so sorting in the UI works properly. --- src/osd/windows/winmain.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/osd/windows/winmain.cpp') diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp index e37dd725034..f9d5f4964c2 100644 --- a/src/osd/windows/winmain.cpp +++ b/src/osd/windows/winmain.cpp @@ -22,6 +22,7 @@ // standard C headers #include +#include #include #include @@ -286,6 +287,7 @@ const options_entry windows_options::s_option_entries[] = int main(int argc, char *argv[]) { + std::setlocale(LC_ALL, ""); std::vector args = osd_get_command_line(argc, argv); // use small output buffers on non-TTYs (i.e. pipes) -- cgit v1.2.3