From 109d914bcb0caf455223cd09c34288d429aefb0c Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Tue, 23 Oct 2012 10:04:01 +0200 Subject: [PATCH] Changed SetWindowText to SetWindowTextA in the Win32 implementation (fixes a compiler error when SFML was compiled in Unicode mode) --- src/SFML/Window/Win32/WindowImplWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index b68ba57ae..26cee278b 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()); }