; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2024 12:12:14 +0000 (14:12 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2024 12:12:14 +0000 (14:12 +0200)
* 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.

src/coding.c

index 5591b7fed4539c4778ea47d9932a5bed5de52903..aee5eed4f7374152fb0cd9055d1d2d5b1821efa8 100644 (file)
@@ -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))