From 14f04e6b49166bbcb05a08fa9f4a4cc0c93597ed Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 9 Apr 2011 15:34:16 -0700 Subject: [PATCH] * chartab.c: Use similar style as for other recent patches. --- src/chartab.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/chartab.c b/src/chartab.c index 450948a9b37..7a0a3aabbb6 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -404,9 +404,8 @@ sub_char_table_set_range (Lisp_Object *table, int depth, int min_char, int from, to = max_char; i = CHARTAB_IDX (from, depth, min_char); j = CHARTAB_IDX (to, depth, min_char); - j++; min_char += chartab_chars[depth] * i; - for (; i < j; i++, min_char += chartab_chars[depth]) + for (j++; i < j; i++, min_char += chartab_chars[depth]) sub_char_table_set_range (XSUB_CHAR_TABLE (*table)->contents + i, depth, min_char, from, to, val); } -- 2.39.2