diff --git a/src/charset.c b/src/charset.c index 8fdf7bc9233..151ae006607 100644 --- a/src/charset.c +++ b/src/charset.c @@ -640,7 +640,8 @@ map_charset_chars (c_function, function, arg, this_from = CHARSET_MIN_CODE (charset); if (this_to > CHARSET_MAX_CODE (charset)) this_to = CHARSET_MAX_CODE (charset); - map_charset_chars (c_function, function, arg, charset, from, to); + map_charset_chars (c_function, function, arg, charset, + this_from, this_to); } } }