From: Eli Zaretskii Date: Sat, 21 Dec 2024 12:12:14 +0000 (+0200) Subject: ; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1d25158f3f6e109cccca65913f2b1e494502d94;p=emacs.git ; 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. (cherry picked from commit 5e97079cc7587ce338679ed237efb911723e4367) --- diff --git a/src/coding.c b/src/coding.c index cd5a12972e6..dd8c20adc3e 100644 --- a/src/coding.c +++ b/src/coding.c @@ -10407,7 +10407,7 @@ DEFUN ("internal-decode-string-utf-8", Finternal_decode_string_utf_8, if (NILP (decode_method)) { 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); } else if (EQ (decode_method, Qt))