]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_console_toggle_lock_key): Add parentheses.
authorJason Rumney <jasonr@gnu.org>
Fri, 12 Jan 2001 23:59:09 +0000 (23:59 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 12 Jan 2001 23:59:09 +0000 (23:59 +0000)
src/w32inevt.c

index d060b57561fb9676c14aa014186c64166d8ee8d1..d2c37aa0b0b8fccef56824363dc2b44119e99ad0 100644 (file)
@@ -484,7 +484,7 @@ w32_console_toggle_lock_key (int vk_code, Lisp_Object new_state)
 
   if (NILP (new_state)
       || (NUMBERP (new_state)
-         && (XUINT (new_state)) & 1 != cur_state))
+         && ((XUINT (new_state)) & 1) != cur_state))
     {
       faked_key = vk_code;