From 200675f9e4c6f3b8b3d6c095e29b6044b88a451e Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Wed, 17 Mar 2004 20:48:30 +0000 Subject: [PATCH] Fix cursor position optimization. --- programs/wineconsole/wineconsole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index bbe6d40383d..abb0ed01b82 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -228,7 +228,8 @@ int WINECON_GrabChanges(struct inner_data* data) { 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; } } -- 2.11.4.GIT