Commit da63a5fe authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(non_ascii_char_to_string): If C is negative, signal error.

parent 72b718d7
......@@ -141,6 +141,9 @@ non_ascii_char_to_string (c, workbuf, str)
{
int charset, c1, c2;
if (c < 0)
invalid_character (c);
if (COMPOSITE_CHAR_P (c))
{
int cmpchar_id = COMPOSITE_CHAR_ID (c);
......
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