wineconsole[2/6]: change selection on WM_KEYDOWN not WM_KEYUP (resend)

Mikołaj Zalewski mikolaj at zalewski.pl
Thu Oct 19 12:22:24 CDT 2006


-------------- next part --------------
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)
     {
-- 
1.4.2.3


More information about the wine-patches mailing list