mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returns
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
This commit is contained in:
parent
f67e0a4050
commit
28b313290b
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ ngx_strerror_r(ngx_err_t err, u_char *errstr, size_t size)
|
|||
len = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM
|
||||
|FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
NULL, err,
|
||||
MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT),
|
||||
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
|
||||
(char *) errstr, size, NULL);
|
||||
|
||||
if (len == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue