Commit 200675f9 authored by Richard Cohen's avatar Richard Cohen Committed by Alexandre Julliard

Fix cursor position optimization.

parent 72b66456
...@@ -228,7 +228,8 @@ int WINECON_GrabChanges(struct inner_data* data) ...@@ -228,7 +228,8 @@ int WINECON_GrabChanges(struct inner_data* data)
{ {
if (evts[i].event == CONSOLE_RENDERER_CURSOR_POS_EVENT) if (evts[i].event == CONSOLE_RENDERER_CURSOR_POS_EVENT)
{ {
if (ev_found != -1) evts[ev_found].event = CONSOLE_RENDERER_NONE_EVENT; if (ev_found != -1)
evts[i].event = CONSOLE_RENDERER_NONE_EVENT;
ev_found = i; ev_found = i;
} }
} }
......
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