From: Andreas Schwab Date: Mon, 26 Jun 2000 12:24:46 +0000 (+0000) Subject: (decode_coding_string): Re-fetch STRING_BYTES after X-Git-Tag: emacs-pretest-21.0.90~3075 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86af83a96940ae9db8a0e5c76ab7ac0888d14181;p=emacs.git (decode_coding_string): Re-fetch STRING_BYTES after Fstring_as_unibyte. --- diff --git a/src/coding.c b/src/coding.c index a90795d781b..f2af9f5bf35 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5217,6 +5217,7 @@ decode_coding_string (str, coding, nocopy) { /* Decoding routines expect the source text to be unibyte. */ str = Fstring_as_unibyte (str); + to_byte = STRING_BYTES (XSTRING (str)); nocopy = 1; coding->src_multibyte = 0; }