summaryrefslogtreecommitdiff
path: root/Source/Core/WinUpdater/Main.cpp
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-07-18 22:13:14 -0400
committerGitHub <noreply@github.com>2020-07-18 22:13:14 -0400
commit487cd7abd9f13da2969a992b78b08e65f9e20d9f (patch)
tree8477a16c66f16f5b5f25a40c1c730fa4e6544524 /Source/Core/WinUpdater/Main.cpp
parent5c2b6d06267df15b352ad75862575a2c83bf0ffb (diff)
parentf5da6e07d7405d89cc550b8c02f39a432f7888a3 (diff)
Merge pull request #8905 from JosJuice/jni-encoding
Android: Use correct encoding when converting strings
Diffstat (limited to 'Source/Core/WinUpdater/Main.cpp')
-rw-r--r--Source/Core/WinUpdater/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/WinUpdater/Main.cpp b/Source/Core/WinUpdater/Main.cpp
index 2e1bd36ff8..6afb807941 100644
--- a/Source/Core/WinUpdater/Main.cpp
+++ b/Source/Core/WinUpdater/Main.cpp
@@ -28,7 +28,7 @@ std::vector<std::string> CommandLineToUtf8Argv(PCWSTR command_line)
std::vector<std::string> argv(nargs);
for (int i = 0; i < nargs; ++i)
{
- argv[i] = UTF16ToUTF8(tokenized[i]);
+ argv[i] = WStringToUTF8(tokenized[i]);
}
LocalFree(tokenized);