diff src/video/wscons/SDL_wsconsevents.c @ 1596:56f952883795

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 07:38:32 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
line wrap: on
line diff
--- a/src/video/wscons/SDL_wsconsevents.c	Thu Mar 23 07:34:03 2006 +0000
+++ b/src/video/wscons/SDL_wsconsevents.c	Thu Mar 23 07:38:32 2006 +0000
@@ -121,8 +121,7 @@
       unsigned char c = buf[i] & 0x7f;
       if (c == 224) // special key prefix -- what should we do with it?
 	continue;
-      int release = (buf[i] & 0x80) != 0;
-      posted += SDL_PrivateKeyboard(release ? SDL_RELEASED : SDL_PRESSED,
+      posted += SDL_PrivateKeyboard((buf[i] & 0x80) ? SDL_RELEASED : SDL_PRESSED,
 				    TranslateKey(c, &keysym));
     }
   }