it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returns
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
This commit is contained in:
parent
9c1308dd82
commit
fd9051fc8f
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…
Reference in a new issue