Mercurial > emacs
changeset 88756:c2d4566b3cde
(Ffind_charset_string): Setup the vector `charsets' correctly.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 12 Jun 2002 00:57:16 +0000 |
parents | 97a127f9efeb |
children | 1063d1a6d1bc |
files | src/charset.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c Wed Jun 12 00:57:01 2002 +0000 +++ b/src/charset.c Wed Jun 12 00:57:16 2002 +0000 @@ -1366,6 +1366,8 @@ CHECK_STRING (str); charsets = Fmake_vector (make_number (charset_table_used), Qnil); + for (i = 0; i < charset_table_used; i++) + ASET (charsets, i, Fcons (make_number (i), Qnil)); find_charsets_in_text (XSTRING (str)->data, XSTRING (str)->size, STRING_BYTES (XSTRING (str)), charsets, table);