| Index: core/fxcrt/fx_basic_bstring.cpp
|
| diff --git a/core/fxcrt/fx_basic_bstring.cpp b/core/fxcrt/fx_basic_bstring.cpp
|
| index 3a81e41920de75518ae1cdb24a2674717d89cf25..c774e80cb7adda5cc1a5af2d942e6376987ecb68 100644
|
| --- a/core/fxcrt/fx_basic_bstring.cpp
|
| +++ b/core/fxcrt/fx_basic_bstring.cpp
|
| @@ -820,7 +820,7 @@ CFX_WideString CFX_ByteString::UTF8Decode() const {
|
| for (FX_STRSIZE i = 0; i < GetLength(); i++) {
|
| decoder.Input((uint8_t)m_pData->m_String[i]);
|
| }
|
| - return decoder.GetResult();
|
| + return CFX_WideString(decoder.GetResult());
|
| }
|
|
|
| // static
|
|
|