use only ANSI APIs and ConvertUTF8ToACP

This commit is contained in:
Chris Danford
2006-01-17 22:20:27 +00:00
parent b60126a261
commit 7b75640337
4 changed files with 8 additions and 15 deletions
@@ -302,7 +302,7 @@ void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p, bool bForce
{
if( m_bWideWindowClass )
{
if( SetWindowTextW( g_hWndMain, RStringToWstring(p.sWindowTitle).c_str() ) )
if( SetWindowText( g_hWndMain, ConvertUTF8ToACP(p.sWindowTitle).c_str() ) )
break;
}