aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-05-16 14:29:08 +0000
committerGerd Moellmann <[email protected]>2000-05-16 14:29:08 +0000
commit9ab8560dc21300b8d7fe5ce9aee37c2244f4642e (patch)
treef0faf3b1da277bb02e3811dddb127c09182e7084 /src/xdisp.c
parent835c1b36270c9ede7766f220d0210ab67352bb3e (diff)
Use the term `invalid' instead of `illegal'.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b632312f40..411f621359 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -878,7 +878,7 @@ window_box_edges (w, area, top_left_x, top_left_y,
/* 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 @@ string_char_and_length (str, maxlen, len)
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 = '?';