20 Nov
2006
20 Nov
'06
4:07 a.m.
Alex Villacís Lasso <a_villacis(a)palosanto.com> writes:
@@ -4159,7 +4161,9 @@ { WCHAR buff[256];
+ setlocale(LC_ALL, "C"); sprintfW( buff, szFloatFormatW, fltIn ); + setlocale(LC_ALL, ""); return VarDecFromStr(buff, LOCALE_EN_US, 0, pDecOut);
You can't do that, setlocale() affects the whole process. In any case we shouldn't need to go through a string to convert a float to a decimal. -- Alexandre Julliard julliard(a)winehq.org