Mercurial > hg > nginx
changeset 2766:234ddbff1b2e
it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returns
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Apr 2009 18:58:35 +0000 |
parents | 6d358aeaa989 |
children | caa4f7dcf1e3 |
files | src/os/win32/ngx_errno.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/win32/ngx_errno.c Mon Apr 27 13:17:33 2009 +0000 +++ b/src/os/win32/ngx_errno.c Mon Apr 27 18:58:35 2009 +0000 @@ -20,7 +20,7 @@ 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) {