mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
Fix Unicode/Ansi conversion problem
svn path=/trunk/; revision=7021
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user