From c29c725f4b9ec0f1e7aeea8df132602384b66205 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 15 Jun 2006 07:29:34 +0000 Subject: [PATCH] cleanup (one-step conversion instead of three-step) --- stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp index ccff653d39..819b789120 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp @@ -658,7 +658,7 @@ static wchar_t ScancodeAndKeysToChar( DWORD scancode, unsigned char keys[256] ) if( iNum == 1 ) { RString s = RString()+(char)result[0]; - return RStringToWstring( ConvertACPToUTF8(s) )[0]; + return ConvertCodepageToWString( s, CP_ACP )[0]; } return '\0'; }