change some magics to defines

This commit is contained in:
Jay Sorg
2016-12-10 01:06:45 -08:00
parent 7a1a481ff9
commit c264862afe
3 changed files with 29 additions and 20 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ xrdp_fastpath_process_EVENT_UNICODE(struct xrdp_fastpath *self,
{
return 1;
}
in_uint16_le(s, code); /* keyCode (1 byte) */
in_uint16_le(s, code); /* unicode (2 byte) */
if (eventFlags & FASTPATH_INPUT_KBDFLAGS_RELEASE)
{
flags |= KBD_FLAG_UP;