Fix Unicode/Ansi conversion problem

svn path=/trunk/; revision=7021
This commit is contained in:
Gé van Geldorp 2003-12-14 14:01:38 +00:00
parent 87bff663cd
commit dbc9a2e835

View file

@ -1,4 +1,4 @@
/* $Id: message.c,v 1.29 2003/12/14 11:36:42 gvg Exp $
/* $Id: message.c,v 1.30 2003/12/14 14:01:38 gvg Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@ -761,6 +761,14 @@ SendMessageA(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
}
}
}
else
{
/* Message sent by kernel. Convert back to Ansi */
if (! MsgiAnsiToUnicodeReply(&UcMsg, &AnsiMsg, &Result))
{
return FALSE;
}
}
return Result;
}