| Index: core/fxcrt/fx_basic_wstring.cpp
|
| diff --git a/core/fxcrt/fx_basic_wstring.cpp b/core/fxcrt/fx_basic_wstring.cpp
|
| index 8c1d494e7a20e3d6b42e3c9669b03cf73e228062..241c3a6985eda6169e2952c01787db2685af6552 100644
|
| --- a/core/fxcrt/fx_basic_wstring.cpp
|
| +++ b/core/fxcrt/fx_basic_wstring.cpp
|
| @@ -786,10 +786,10 @@ CFX_WideString CFX_WideString::FromUTF8(const CFX_ByteStringC& str) {
|
| return CFX_WideString();
|
|
|
| CFX_UTF8Decoder decoder;
|
| - for (FX_STRSIZE i = 0; i < str.GetLength(); i++) {
|
| + for (FX_STRSIZE i = 0; i < str.GetLength(); i++)
|
| decoder.Input(str[i]);
|
| - }
|
| - return decoder.GetResult();
|
| +
|
| + return CFX_WideString(decoder.GetResult());
|
| }
|
|
|
| // static
|
|
|