mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 01:15:08 -05:00
Common: Rename UTF16ToUTF8
This function does *not* always convert from UTF-16. It converts from UTF-16 on Windows and UTF-32 on other operating systems. Also renaming UTF8ToUTF16 for consistency, even though it technically doesn't have the same problem since it only was implemented on Windows.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user