Mercurial > emacs
diff src/keyboard.c @ 42499:e4c6344ca163
(read_key_sequence): Fixed cast of submaps arg to bcopy.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Thu, 03 Jan 2002 11:30:57 +0000 |
| parents | 488ddda9d397 |
| children | 8d5458375774 |
line wrap: on
line diff
--- a/src/keyboard.c Thu Jan 03 11:30:13 2002 +0000 +++ b/src/keyboard.c Thu Jan 03 11:30:57 2002 +0000 @@ -8129,7 +8129,7 @@ if (!NILP (orig_keymap)) submaps[nmaps++] = orig_keymap; - bcopy (maps, (void *) submaps + nmaps, + bcopy (maps, (void *) (submaps + nmaps), nminor * sizeof (submaps[0])); nmaps += nminor;
