]> git.eshelyaron.com Git - emacs.git/commitdiff
; 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)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:19:53 +0000 (16:19 +0100)
* 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)

src/coding.c

index cd5a12972e6d5cef866fdae5b582c36ff73ac32f..dd8c20adc3ec92598773866b708d6e7d86de4a65 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))