mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
Fix Unicode/Ansi conversion problem
svn path=/trunk/; revision=7021
This commit is contained in:
parent
87bff663cd
commit
dbc9a2e835
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue