public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: locale: fix devanagar modifier Date: Sat, 25 Feb 2023 15:24:59 +0000 (GMT) [thread overview] Message-ID: <20230225152459.5CDF53851ABC@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=57bac33359db23ea74f3d84374dea1da536ed1e6 commit 57bac33359db23ea74f3d84374dea1da536ed1e6 Author: Corinna Vinschen <corinna@vinschen.de> AuthorDate: Sat Feb 25 15:09:12 2023 +0100 Commit: Corinna Vinschen <corinna@vinschen.de> CommitDate: Sat Feb 25 16:12:51 2023 +0100 Cygwin: locale: fix devanagar modifier Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- winsup/cygwin/nlsfuncs.cc | 2 +- winsup/utils/locale.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index 60bababd2668..c2f9c08c9fe1 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -125,7 +125,7 @@ __get_rfc5646_from_locale (const char *name, wchar_t *win_locale) idx = 0; else if (!strcmp (modifier, "cyrillic")) idx = 1; - else if (!strcmp (modifier, "devanagari")) + else if (!strcmp (modifier, "devanagar")) idx = 2; else if (!strcmp (modifier, "adlam")) idx = 3; diff --git a/winsup/utils/locale.cc b/winsup/utils/locale.cc index fffac920d80a..2c7845fc24be 100644 --- a/winsup/utils/locale.cc +++ b/winsup/utils/locale.cc @@ -380,7 +380,7 @@ print_all_locales_proc (LPWSTR loc_name, DWORD info, LPARAM param) else if (!wcscmp (iso15924, L"Cyrl;")) stpcpy (c, "@cyrillic"); else if (!wcscmp (iso15924, L"Deva;")) - stpcpy (c, "@devanagari"); + stpcpy (c, "@devanagar"); else if (!wcscmp (iso15924, L"Adlm;")) stpcpy (c, "@adlam"); else
reply other threads:[~2023-02-25 15:24 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230225152459.5CDF53851ABC@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).