From fad7ce3fb4e324e17ee3d5eb4f6a9f9874b76845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 4 Apr 2004 17:59:23 +0000 Subject: [PATCH] Hack to translate Ascii chars 128-255 to Unicode too svn path=/trunk/; revision=8967 --- reactos/lib/kernel32/misc/mbchars.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/misc/mbchars.c b/reactos/lib/kernel32/misc/mbchars.c index 278d9a94e20..415abad9acf 100644 --- a/reactos/lib/kernel32/misc/mbchars.c +++ b/reactos/lib/kernel32/misc/mbchars.c @@ -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 @@ -141,7 +141,7 @@ MultiByteToWideChar( w++, cchConverted++) { - *w = (WCHAR)*r; + *w = (WCHAR)(unsigned char) *r; } /* * Return how many characters we