]> code.delx.au - gnu-emacs/commitdiff
* keyboard.c (apply_modifiers): Fix typo in sanity check.
authorJim Blandy <jimb@redhat.com>
Thu, 8 Apr 1993 00:14:50 +0000 (00:14 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 8 Apr 1993 00:14:50 +0000 (00:14 +0000)
src/keyboard.c

index 27a6c421ad9fdb9835d6b95db3d7a14b2172e187..8f4b9b4425fde434244855b39cc8fd429c6d6522 100644 (file)
@@ -2531,7 +2531,7 @@ apply_modifiers (modifiers, base)
 
   /* The click modifier never figures into cache indices.  */
   cache = Fget (base, Qmodifier_cache);
-  if (index & ~((1<<VALBITS) - 1))
+  if (modifiers & ~((1<<VALBITS) - 1))
     abort ();
   XFASTINT (index) = (modifiers & ~click_modifier);
   entry = Fassq (index, cache);