Cygwin: locale: fix devanagar modifier

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-02-25 15:09:12 +01:00
parent f20aee9091
commit 57bac33359
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ __get_rfc5646_from_locale (const char *name, wchar_t *win_locale)
idx = 0; idx = 0;
else if (!strcmp (modifier, "cyrillic")) else if (!strcmp (modifier, "cyrillic"))
idx = 1; idx = 1;
else if (!strcmp (modifier, "devanagari")) else if (!strcmp (modifier, "devanagar"))
idx = 2; idx = 2;
else if (!strcmp (modifier, "adlam")) else if (!strcmp (modifier, "adlam"))
idx = 3; idx = 3;

View File

@ -380,7 +380,7 @@ print_all_locales_proc (LPWSTR loc_name, DWORD info, LPARAM param)
else if (!wcscmp (iso15924, L"Cyrl;")) else if (!wcscmp (iso15924, L"Cyrl;"))
stpcpy (c, "@cyrillic"); stpcpy (c, "@cyrillic");
else if (!wcscmp (iso15924, L"Deva;")) else if (!wcscmp (iso15924, L"Deva;"))
stpcpy (c, "@devanagari"); stpcpy (c, "@devanagar");
else if (!wcscmp (iso15924, L"Adlm;")) else if (!wcscmp (iso15924, L"Adlm;"))
stpcpy (c, "@adlam"); stpcpy (c, "@adlam");
else else