Showing
1 changed file
with
1 additions
and
1 deletions
@@ -59,7 +59,7 @@ std::wstring fromUtf8(std::string str) { | @@ -59,7 +59,7 @@ std::wstring fromUtf8(std::string str) { | ||
59 | auto len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), | 59 | auto len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), |
60 | static_cast<int>(str.length()), nullptr, 0); | 60 | static_cast<int>(str.length()), nullptr, 0); |
61 | if (len <= 0) { | 61 | if (len <= 0) { |
62 | - return false; | 62 | + return L""; |
63 | } | 63 | } |
64 | 64 | ||
65 | auto wstr = std::wstring{}; | 65 | auto wstr = std::wstring{}; |
-
Please register or login to post a comment