Changed SetWindowText to SetWindowTextA in the Win32 implementation (fixes a compiler error when SFML was compiled in Unicode mode)

This commit is contained in:
Laurent Gomila 2012-10-23 10:04:01 +02:00
parent 121cfeb6a3
commit 109d914bcb

View File

@ -257,7 +257,7 @@ void WindowImplWin32::setSize(const Vector2u& size)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void WindowImplWin32::setTitle(const std::string& title) void WindowImplWin32::setTitle(const std::string& title)
{ {
SetWindowText(m_handle, title.c_str()); SetWindowTextA(m_handle, title.c_str());
} }