Mercurial > emacs
diff src/lread.c @ 46375:e90f58d3450c
* lread.c (read_vector): Use STRING_SET_CHARS.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 15 Jul 2002 02:16:52 +0000 |
parents | 40db0673e6f0 |
children | eb5964b8cc24 |
line wrap: on
line diff
--- a/src/lread.c Mon Jul 15 02:16:15 2002 +0000 +++ b/src/lread.c Mon Jul 15 02:16:52 2002 +0000 @@ -2760,7 +2760,7 @@ /* Coerce string to unibyte (like string-as-unibyte, but without generating extra garbage and guaranteeing no change in the contents). */ - SCHARS (bytestr) = SBYTES (bytestr); + STRING_SET_CHARS (bytestr, SBYTES (bytestr)); STRING_SET_UNIBYTE (bytestr); item = Fread (bytestr);