diff options
| author | Kenichi Handa | 2008-08-29 08:04:38 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-08-29 08:04:38 +0000 |
| commit | d5443ffda09f105132a18d4c1ee52f01046212b4 (patch) | |
| tree | 1c2cce69e8e2d01abd16267ebcafe8be24a11ff1 /src | |
| parent | 94baaf4f7c2e85b951dac04c8576c3a33336ccea (diff) | |
| download | emacs-d5443ffda09f105132a18d4c1ee52f01046212b4.tar.gz emacs-d5443ffda09f105132a18d4c1ee52f01046212b4.zip | |
(report_file_error): Don't downcase the first character
of errstring if it is still unibyte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 8eb1b3a2c87..6b9b9afb47c 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -261,7 +261,8 @@ report_file_error (string, data) | |||
| 261 | default: | 261 | default: |
| 262 | /* System error messages are capitalized. Downcase the initial | 262 | /* System error messages are capitalized. Downcase the initial |
| 263 | unless it is followed by a slash. */ | 263 | unless it is followed by a slash. */ |
| 264 | if (! EQ (Faref (errstring, make_number (1)), make_number ('/'))) | 264 | if (STRING_MULTIBYTE (errstring) |
| 265 | && ! EQ (Faref (errstring, make_number (1)), make_number ('/'))) | ||
| 265 | { | 266 | { |
| 266 | int c; | 267 | int c; |
| 267 | 268 | ||