Commit 3736c367 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

winemac.drv: Set done if macdrv_process_text_input is not processing input.

Prevents an input lockup in this case. Signed-off-by: 's avatarAric Stewart <aric@codeweavers.com> Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 6c0a8c35
......@@ -1147,7 +1147,10 @@ void macdrv_process_text_input(UINT vkey, UINT scan, UINT repeat, const BYTE *ke
if (thread_data->keyc2vkey[keyc] == vkey) break;
if (keyc >= ARRAY_SIZE(thread_data->keyc2vkey))
{
*done = -1;
return;
}
TRACE("flags 0x%08x keyc 0x%04x\n", flags, keyc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment