| 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 ce6a1cd763e4add87739782a723bfeb140112a7b..dfdbef8bd61ceb5e6293aa2ef06d95e3b0c03313 100644
|
| --- a/core/src/fxcrt/fx_basic_wstring.cpp
|
| +++ b/core/src/fxcrt/fx_basic_wstring.cpp
|
| @@ -976,9 +976,9 @@ void CFX_WideString::FormatV(FX_LPCWSTR lpszFormat, va_list argList)
|
| nItemLen = nPrecision + nWidth + 128;
|
| } else {
|
| double f;
|
| - char pszTemp[256] = {0};
|
| + char pszTemp[256];
|
| f = va_arg(argList, double);
|
| - FXSYS_snprintf(pszTemp, sizeof(pszTemp) - 1, "%*.*f", nWidth, nPrecision + 6, f );
|
| + FXSYS_snprintf(pszTemp, sizeof(pszTemp), "%*.*f", nWidth, nPrecision + 6, f );
|
| nItemLen = (FX_STRSIZE)FXSYS_strlen(pszTemp);
|
| }
|
| break;
|
|
|