mirror of
https://github.com/glfw/glfw.git
synced 2025-12-20 06:01:56 +00:00
Compare commits
2 Commits
19df4f02ca
...
38b0515185
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38b0515185 | ||
|
|
15f9e1bea7 |
@ -1686,11 +1686,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