aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii2024-12-21 14:12:14 +0200
committerEli Zaretskii2024-12-21 14:12:14 +0200
commit5e97079cc7587ce338679ed237efb911723e4367 (patch)
tree40130fd75b1a499ea4c1ed8903096fc9eba1d999 /src/coding.c
parent6902673b5b9c641fd2df3881533d6fc343124371 (diff)
downloademacs-5e97079cc7587ce338679ed237efb911723e4367.tar.gz
emacs-5e97079cc7587ce338679ed237efb911723e4367.zip
; 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.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 5591b7fed45..aee5eed4f73 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -10407,7 +10407,7 @@ DEFUN ("internal-decode-string-utf-8", Finternal_decode_string_utf_8,
10407 if (NILP (decode_method)) 10407 if (NILP (decode_method))
10408 { 10408 {
10409 for (int i = 0; i < repeat_count; i++) 10409 for (int i = 0; i < repeat_count; i++)
10410 val = decode_string_utf_8 (string, buffer, ! NILP (nocopy), 10410 val = decode_string_utf_8 (string, NULL, -1, buffer, ! NILP (nocopy),
10411 handle_8_bit, handle_over_uni); 10411 handle_8_bit, handle_over_uni);
10412 } 10412 }
10413 else if (EQ (decode_method, Qt)) 10413 else if (EQ (decode_method, Qt))