changeset 103877:65728b0073ee

(sub_char_table_ref_and_range): Fix the range check against max_char.
author Kenichi Handa <handa@m17n.org>
date Mon, 13 Jul 2009 04:02:26 +0000
parents a7a75be51ae9
children 32f58ca17f29
files src/chartab.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/chartab.c	Mon Jul 13 01:03:28 2009 +0000
+++ b/src/chartab.c	Mon Jul 13 04:02:26 2009 +0000
@@ -257,7 +257,7 @@
 	  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;