Hack to translate Ascii chars 128-255 to Unicode too

svn path=/trunk/; revision=8967
This commit is contained in:
Gé van Geldorp 2004-04-04 17:59:23 +00:00
parent b60d102548
commit fad7ce3fb4

View file

@ -1,4 +1,4 @@
/* $Id: mbchars.c,v 1.4 2003/08/07 04:03:23 royce Exp $
/* $Id: mbchars.c,v 1.5 2004/04/04 17:59:23 gvg Exp $
*
*/
#include <windows.h>
@ -141,7 +141,7 @@ MultiByteToWideChar(
w++,
cchConverted++)
{
*w = (WCHAR)*r;
*w = (WCHAR)(unsigned char) *r;
}
/*
* Return how many characters we