Mercurial > hg > xemacs-beta
diff src/fileio.c @ 50:ee648375d8d6 r19-16b91
Import from CVS: tag r19-16b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:56:41 +0200 |
parents | 56c54cf7c5b6 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/src/fileio.c Mon Aug 13 08:56:06 2007 +0200 +++ b/src/fileio.c Mon Aug 13 08:56:41 2007 +0200 @@ -123,7 +123,8 @@ /* System error messages are capitalized. Downcase the initial unless it is followed by a slash. */ - if (string_char (XSTRING (errstring), 1) != '/') + if (string_char_length (XSTRING (errstring)) >= 2 + && string_char (XSTRING (errstring), 1) != '/') set_string_char (XSTRING (errstring), 0, DOWNCASE (current_buffer, string_char (XSTRING (errstring), 0)));