cleanup (one-step conversion instead of three-step)

This commit is contained in:
Glenn Maynard
2006-06-15 07:29:34 +00:00
parent d9184b84b3
commit c29c725f4b
@@ -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';
}