1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

(sub_char_table_ref_and_range): Fix the range check against max_char.

This commit is contained in:
Kenichi Handa 2009-07-13 04:02:26 +00:00
parent fb6b6049d8
commit 05756f213f

View File

@ -257,7 +257,7 @@ sub_char_table_ref_and_range (table, c, from, to, defalt)
break;
}
}
while ((c = min_char + (index + 1) * chartab_chars[depth]) < max_char
while ((c = min_char + (index + 1) * chartab_chars[depth]) <= max_char
&& *to >= c)
{
Lisp_Object this_val;