Fix cursor position optimization.

This commit is contained in:
Richard Cohen 2004-03-17 20:48:30 +00:00 committed by Alexandre Julliard
parent 72b6645682
commit 200675f9e4
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }
} }