diff src/xdisp.c @ 28932:f8b0ac62f238

Use the term `invalid' instead of `illegal'.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 16 May 2000 14:29:08 +0000
parents 04cbb0510d7e
children 540ca0531c77
line wrap: on
line diff
--- a/src/xdisp.c	Tue May 16 11:47:30 2000 +0000
+++ b/src/xdisp.c	Tue May 16 14:29:08 2000 +0000
@@ -878,7 +878,7 @@
 /* Return the next character from STR which is MAXLEN bytes long.
    Return in *LEN the length of the character.  This is like
    STRING_CHAR_AND_LENGTH but never returns an invalid character.  If
-   we find one, we return a `?', but with the length of the illegal
+   we find one, we return a `?', but with the length of the invalid
    character.  */
 
 static INLINE int
@@ -891,7 +891,7 @@
   c = STRING_CHAR_AND_LENGTH (str, maxlen, *len);
   if (!CHAR_VALID_P (c, 1))
     /* We may not change the length here because other places in Emacs
-       don't use this function, i.e. they silently accept illegal
+       don't use this function, i.e. they silently accept invalid
        characters.  */
     c = '?';