| Index: core/src/fxcrt/fx_basic_wstring.cpp
|
| diff --git a/core/src/fxcrt/fx_basic_wstring.cpp b/core/src/fxcrt/fx_basic_wstring.cpp
|
| index 396dbc4fff9c2fa30bf69b78b2125f5502f6ad5e..8df72466e8c97cca574812994a285566f5b6c52f 100644
|
| --- a/core/src/fxcrt/fx_basic_wstring.cpp
|
| +++ b/core/src/fxcrt/fx_basic_wstring.cpp
|
| @@ -994,7 +994,7 @@ FX_FLOAT FX_wtof(const FX_WCHAR* str, int len) {
|
| if (str[cc] == '.') {
|
| break;
|
| }
|
| - integer = integer * 10 + FXSYS_toDecimalDigitWide(str[cc]);
|
| + integer = integer * 10 + FXSYS_toDecimalDigit(str[cc]);
|
| cc++;
|
| }
|
| FX_FLOAT fraction = 0;
|
| @@ -1002,7 +1002,7 @@ FX_FLOAT FX_wtof(const FX_WCHAR* str, int len) {
|
| cc++;
|
| FX_FLOAT scale = 0.1f;
|
| while (cc < len) {
|
| - fraction += scale * FXSYS_toDecimalDigitWide(str[cc]);
|
| + fraction += scale * FXSYS_toDecimalDigit(str[cc]);
|
| scale *= 0.1f;
|
| cc++;
|
| }
|
|
|