| Index: core/include/fxcrt/fx_string.h
|
| diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
|
| index 47e8ecdf1ea0f1eb12a5bcdc1dcc580f52606b0a..44c6fc53ff6de008ff3be9f824e8985e19d59f64 100644
|
| --- a/core/include/fxcrt/fx_string.h
|
| +++ b/core/include/fxcrt/fx_string.h
|
| @@ -597,7 +597,7 @@ private:
|
| }
|
| };
|
| typedef const CFX_WideStringC& FX_WSTR;
|
| -#define FX_WSTRC(wstr) CFX_WideStringC(wstr, sizeof(wstr) / sizeof(FX_WCHAR) - 1)
|
| +#define FX_WSTRC(wstr) CFX_WideStringC(wstr, FX_ArraySize(wstr) - 1)
|
| struct CFX_StringDataW {
|
|
|
| long m_nRefs;
|
|
|