Module: wine Branch: master Commit: 2750a74f189802bd03c042c423957f455896931d URL: http://source.winehq.org/git/wine.git/?a=commit;h=2750a74f189802bd03c042c423... Author: Mikołaj Zalewski <mikolaj(a)zalewski.pl> Date: Thu Oct 19 19:22:24 2006 +0200 wineconsole: Change selection on WM_KEYDOWN not WM_KEYUP. --- programs/wineconsole/user.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index fffd40f..e1efda2 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -926,7 +926,7 @@ static void WCUSER_HandleSelectionKey(st DWORD state = WCUSER_GetCtrlKeyState(keyState) & ~(CAPSLOCK_ON|NUMLOCK_ON|SCROLLLOCK_ON); COORD c1, c2; - if (down) return; + if (!down) return; switch (state) {