diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-06-27 11:50:56 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-06-27 11:50:56 +0000 |
| commit | edfa832c6a30798d4bfa97ea8e01289a060dfb34 (patch) | |
| tree | 133307cf5bde781fe6f8c172978cdb6ef75a33f9 /lib/libedit/vi.c | |
| parent | f76efb86fbcc8fa2385dbaa54dfb816773ba38d4 (diff) | |
Notes
Diffstat (limited to 'lib/libedit/vi.c')
| -rw-r--r-- | lib/libedit/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c index a9e6111993d9..3a8ef0541ad2 100644 --- a/lib/libedit/vi.c +++ b/lib/libedit/vi.c @@ -277,7 +277,7 @@ vi_change_case(el, c) int c; { if (el->el_line.cursor < el->el_line.lastchar) { - c = *el->el_line.cursor & 0xFF; + c = (unsigned char)*el->el_line.cursor; if (isupper(c)) *el->el_line.cursor++ = tolower(c); else if (islower(c)) |
