From e22216b8a5c42df9f0b449b2c4c6907ec00662d7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 17 Nov 2003 23:29:40 +0000 Subject: [PATCH] (parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK. --- src/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index 3dadfcedb21..5b1f40403a2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6126,7 +6126,7 @@ parse_modifiers (symbol) SBYTES (SYMBOL_NAME (symbol)) - end), Qnil); - if (modifiers & ~VALMASK) + if (modifiers & ~INTMASK) abort (); XSETFASTINT (mask, modifiers); elements = Fcons (unmodified, Fcons (mask, Qnil)); @@ -6163,7 +6163,7 @@ apply_modifiers (modifiers, base) Lisp_Object cache, index, entry, new_symbol; /* Mask out upper bits. We don't know where this value's been. */ - modifiers &= VALMASK; + modifiers &= INTMASK; /* The click modifier never figures into cache indices. */ cache = Fget (base, Qmodifier_cache); -- 2.39.2