summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
index 7ad2f0322c..b9331f56ab 100644
--- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp
+++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
@@ -113,7 +113,7 @@ bool PlatformWin32::Init()
void PlatformWin32::SetTitle(const std::string& string)
{
- SetWindowTextW(m_hwnd, UTF8ToUTF16(string).c_str());
+ SetWindowTextW(m_hwnd, UTF8ToWString(string).c_str());
}
void PlatformWin32::MainLoop()