Index: core/fxcrt/fx_extension.cpp |
diff --git a/core/fxcrt/fx_extension.cpp b/core/fxcrt/fx_extension.cpp |
index 7e8029babaefe799653fe926071826e97978be4e..f1fd980120b480b6b398bc286751e8a1c64eeae5 100644 |
--- a/core/fxcrt/fx_extension.cpp |
+++ b/core/fxcrt/fx_extension.cpp |
@@ -134,7 +134,7 @@ FX_FLOAT FXSYS_strtof(const FX_CHAR* pcsStr, |
iLength = (int32_t)FXSYS_strlen(pcsStr); |
} |
CFX_WideString ws = |
- CFX_WideString::FromLocal(CFX_ByteString(pcsStr, iLength)); |
+ CFX_WideString::FromLocal(CFX_ByteStringC(pcsStr, iLength)); |
return FXSYS_wcstof(ws.c_str(), iLength, pUsedLen); |
} |
FX_FLOAT FXSYS_wcstof(const FX_WCHAR* pwsStr, |