mirror of
https://github.com/glfw/glfw.git
synced 2025-12-16 20:23:13 +00:00
Merge 15f9e1bea7 into dbadda2683
This commit is contained in:
commit
221a50d804
@ -1723,11 +1723,11 @@ static void keyboardHandleKeymap(void* userData,
|
|||||||
|
|
||||||
// Look up the preferred locale, falling back to "C" as default.
|
// Look up the preferred locale, falling back to "C" as default.
|
||||||
locale = getenv("LC_ALL");
|
locale = getenv("LC_ALL");
|
||||||
if (!locale)
|
if (!locale || strlen(locale) == 0)
|
||||||
locale = getenv("LC_CTYPE");
|
locale = getenv("LC_CTYPE");
|
||||||
if (!locale)
|
if (!locale || strlen(locale) == 0)
|
||||||
locale = getenv("LANG");
|
locale = getenv("LANG");
|
||||||
if (!locale)
|
if (!locale || strlen(locale) == 0)
|
||||||
locale = "C";
|
locale = "C";
|
||||||
|
|
||||||
composeTable =
|
composeTable =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user