; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code

* src/coding.c (Finternal_decode_string_utf_8): Fix calling
sequence of 'decode_string_utf_8' to adapt to changes in the
latter's signature.
This commit is contained in:
Eli Zaretskii 2024-12-21 14:12:14 +02:00
parent 6902673b5b
commit 5e97079cc7

View file

@ -10407,7 +10407,7 @@ DEFUN ("internal-decode-string-utf-8", Finternal_decode_string_utf_8,
if (NILP (decode_method)) if (NILP (decode_method))
{ {
for (int i = 0; i < repeat_count; i++) for (int i = 0; i < repeat_count; i++)
val = decode_string_utf_8 (string, buffer, ! NILP (nocopy), val = decode_string_utf_8 (string, NULL, -1, buffer, ! NILP (nocopy),
handle_8_bit, handle_over_uni); handle_8_bit, handle_over_uni);
} }
else if (EQ (decode_method, Qt)) else if (EQ (decode_method, Qt))