fix keyboard release (thanks hardening!)

This commit is contained in:
abma 2016-01-15 01:59:08 +01:00
parent bedb4a2d64
commit ba286684c4

View File

@ -179,7 +179,7 @@ void xf_keyboard_release_all_keypress(xfContext* xfc)
for (keycode = 0; keycode < ARRAYSIZE(xfc->KeyboardState); keycode++)
{
if (!xfc->KeyboardState[keycode])
if (xfc->KeyboardState[keycode])
{
rdp_scancode = freerdp_keyboard_get_rdp_scancode_from_x11_keycode(keycode);