Commit 353032ce authored by Paul Eggert's avatar Paul Eggert
Browse files

* character.c (string_escape_byte8): Fix nbytes/nchars typo.

parent 2bccce07
2011-06-07 Paul Eggert <eggert@cs.ucla.edu>
* character.c (string_escape_byte8): Fix nbytes/nchars typo.
* alloc.c (Fmake_string): Check for out-of-range init.
2011-06-07 Daniel Colascione <dan.colascione@gmail.com>
......
......@@ -847,7 +847,7 @@ string_escape_byte8 (Lisp_Object string)
}
else
{
if ((STRING_BYTES_MAX - nchars) / 3 < byte8_count)
if ((STRING_BYTES_MAX - nbytes) / 3 < byte8_count)
string_overflow ();
/* Convert 1-byte sequence of byte8 chars to 4-byte octal. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment