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:
parent
fb6b6049d8
commit
05756f213f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user