summaryrefslogtreecommitdiff
path: root/src/chartab.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2011-07-07 13:16:52 +0900
committerKenichi Handa <handa@m17n.org>2011-07-07 13:16:52 +0900
commit023e7b416bc76d4c98a421ee9455df039967e484 (patch)
treeb333009070df9ebb7a830ea033334ebe19e625e6 /src/chartab.c
parentd2a0a50628933d3cdb09818eee2e17f55e22531f (diff)
downloademacs-023e7b416bc76d4c98a421ee9455df039967e484.tar.gz
chartab.c (sub_char_table_set_range): Fix previous change.
Diffstat (limited to 'src/chartab.c')
-rw-r--r--src/chartab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chartab.c b/src/chartab.c
index 4a9a76bdd60..e900a3ae71f 100644
--- a/src/chartab.c
+++ b/src/chartab.c
@@ -456,7 +456,7 @@ sub_char_table_set_range (Lisp_Object table, int from, int to, Lisp_Object val,
from = min_char;
i = CHARTAB_IDX (from, depth, min_char);
c = min_char + chars_in_block * i;
- for (; i <= lim; i++, c += chars_in_block)
+ for (; i < lim; i++, c += chars_in_block)
{
if (c > to)
break;