mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Changed SetWindowText to SetWindowTextA in the Win32 implementation (fixes a compiler error when SFML was compiled in Unicode mode)
This commit is contained in:
parent
121cfeb6a3
commit
109d914bcb
@ -257,7 +257,7 @@ void WindowImplWin32::setSize(const Vector2u& size)
|
||||
////////////////////////////////////////////////////////////
|
||||
void WindowImplWin32::setTitle(const std::string& title)
|
||||
{
|
||||
SetWindowText(m_handle, title.c_str());
|
||||
SetWindowTextA(m_handle, title.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user