Commit d5443ffd authored by Kenichi Handa's avatar Kenichi Handa

(report_file_error): Don't downcase the first character

of errstring if it is still unibyte.
parent 94baaf4f
......@@ -261,7 +261,8 @@ report_file_error (string, data)
default:
/* System error messages are capitalized. Downcase the initial
unless it is followed by a slash. */
if (! EQ (Faref (errstring, make_number (1)), make_number ('/')))
if (STRING_MULTIBYTE (errstring)
&& ! EQ (Faref (errstring, make_number (1)), make_number ('/')))
{
int 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