Mercurial > emacs
diff src/charset.c @ 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 | f247f70ed2c3 |
| children | 5756cf8c8828 |
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);
