Cygwin: locale(1): fix typo

Windows locales need a dash instead of an underscore.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-02-25 13:20:05 +01:00
parent 0ab22f0af9
commit 98aed7943e
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ print_all_locales_proc (LPWSTR loc_name, DWORD info, LPARAM param)
wchar_t scriptless_win_locale[32];
wchar_t default_iso15924[32];
wcpcpy (wcpcpy (wcpcpy (scriptless_win_locale, iso639), L"_"),
wcpcpy (wcpcpy (wcpcpy (scriptless_win_locale, iso639), L"-"),
iso3166);
if ((GetLocaleInfoEx (scriptless_win_locale, LOCALE_SSCRIPTS,
default_iso15924, 32)