Skip to content
Snippets Groups Projects
Commit 4730205f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

jscript: Fix number conversion in non-English locales.

parent db447d0f
No related branches found
No related tags found
No related merge requests found
......@@ -458,7 +458,7 @@ HRESULT to_string(script_ctx_t *ctx, VARIANT *v, jsexcept_t *ei, BSTR *str)
HRESULT hres;
V_VT(&strv) = VT_EMPTY;
hres = VariantChangeType(&strv, v, 0, VT_BSTR);
hres = VariantChangeTypeEx(&strv, v, MAKELCID(MAKELANGID(LANG_ENGLISH,SUBLANG_ENGLISH_US),SORT_DEFAULT), 0, VT_BSTR);
if(FAILED(hres))
return hres;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment