Mercurial > emacs
comparison src/charset.c @ 88609:d95f7c449f7a
(Fdefine_charset_internal): Fix argument to bzero.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 23 May 2002 10:57:15 +0000 |
parents | 46a07af4f6e0 |
children | decf968c7435 |
comparison
equal
deleted
inserted
replaced
88608:87f434e79e80 | 88609:d95f7c449f7a |
---|---|
717 || charset.code_space[10] == 256))))); | 717 || charset.code_space[10] == 256))))); |
718 | 718 |
719 if (! charset.code_linear_p) | 719 if (! charset.code_linear_p) |
720 { | 720 { |
721 charset.code_space_mask = (unsigned char *) xmalloc (256); | 721 charset.code_space_mask = (unsigned char *) xmalloc (256); |
722 bzero (charset.code_space_mask, sizeof (charset.code_space_mask)); | 722 bzero (charset.code_space_mask, 256); |
723 for (i = 0; i < 4; i++) | 723 for (i = 0; i < 4; i++) |
724 for (j = charset.code_space[i * 4]; j <= charset.code_space[i * 4 + 1]; | 724 for (j = charset.code_space[i * 4]; j <= charset.code_space[i * 4 + 1]; |
725 j++) | 725 j++) |
726 charset.code_space_mask[j] |= (1 << i); | 726 charset.code_space_mask[j] |= (1 << i); |
727 } | 727 } |