diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index b68ba57a..26cee278 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -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()); }