mirror of
https://github.com/glfw/glfw.git
synced 2025-08-30 18:41:48 +00:00
Merge 15f9e1bea7
into 63a7e8b7f8
This commit is contained in:
commit
6bac4013b7
@ -1722,11 +1722,11 @@ static void keyboardHandleKeymap(void* userData,
|
||||
|
||||
// Look up the preferred locale, falling back to "C" as default.
|
||||
locale = getenv("LC_ALL");
|
||||
if (!locale)
|
||||
if (!locale || strlen(locale) == 0)
|
||||
locale = getenv("LC_CTYPE");
|
||||
if (!locale)
|
||||
if (!locale || strlen(locale) == 0)
|
||||
locale = getenv("LANG");
|
||||
if (!locale)
|
||||
if (!locale || strlen(locale) == 0)
|
||||
locale = "C";
|
||||
|
||||
composeTable =
|
||||
|
Loading…
Reference in New Issue
Block a user