diff options
author | Kenichi Handa <handa@m17n.org> | 2008-12-03 05:48:11 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2008-12-03 05:48:11 +0000 |
commit | 1b17adfd3b07d24b4665ff66fd1b1dcc05f6c823 (patch) | |
tree | b47ba9a98eb287f3de90c1147754817cf7c1e0b8 | |
parent | b1bde62298d30e1f44497e19cf970d34a7850d64 (diff) | |
download | emacs-1b17adfd3b07d24b4665ff66fd1b1dcc05f6c823.tar.gz |
(decode_coding_charset): Check type of an element of
vector VALIDS.
-rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index acdb92214c2..8890eb188ce 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5160,7 +5160,7 @@ decode_coding_charset (coding) code = c; val = AREF (valids, c); - if (NILP (val)) + if (! INTEGERP (val) && ! CONSP (val)) goto invalid_code; if (INTEGERP (val)) { |