Mercurial > emacs
diff src/alloc.c @ 3536:58d5ee6ec253
(make_event_array): Ignore bits above CHAR_META.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 07 Jun 1993 05:30:07 +0000 |
| parents | b2e5c888f5f6 |
| children | 152fd924c7bb |
line wrap: on
line diff
--- a/src/alloc.c Mon Jun 07 05:29:40 1993 +0000 +++ b/src/alloc.c Mon Jun 07 05:30:07 1993 +0000 @@ -958,9 +958,10 @@ for (i = 0; i < nargs; i++) /* The things that fit in a string - are characters that are in 0...127 after discarding the meta bit. */ + are characters that are in 0...127, + after discarding the meta bit and all the bits above it. */ if (XTYPE (args[i]) != Lisp_Int - || (XUINT (args[i]) & ~CHAR_META) >= 0200) + || (XUINT (args[i]) & ~(-CHAR_META)) >= 0200) return Fvector (nargs, args); /* Since the loop exited, we know that all the things in it are
