From 2750a74f189802bd03c042c423957f455896931d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Zalewski?= Date: Thu, 19 Oct 2006 19:22:24 +0200 Subject: [PATCH] wineconsole: Change selection on WM_KEYDOWN not WM_KEYUP. --- programs/wineconsole/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index fffd40fc8a4..e1efda2e26f 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -926,7 +926,7 @@ static void WCUSER_HandleSelectionKey(struct inner_data* data, BOOL down, DWORD state = WCUSER_GetCtrlKeyState(keyState) & ~(CAPSLOCK_ON|NUMLOCK_ON|SCROLLLOCK_ON); COORD c1, c2; - if (down) return; + if (!down) return; switch (state) {