diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-01-04 17:01:33 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-01-04 17:01:33 -0500 |
commit | 18ad612ea80ba978ae8271800814737e224a4baf (patch) | |
tree | 4f8cac02f42b39566a775d520916b29e34608ae4 /lib | |
parent | 72912fb8209105af961c851260a173115efe60be (diff) | |
download | bash-18ad612ea80ba978ae8271800814737e224a4baf.tar.gz |
Bash-5.1 patch 15: fix readline display of some characters > 128 in certain single-byte encodings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/readline/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readline/display.c b/lib/readline/display.c index 38b3d0e7..f5d32945 100644 --- a/lib/readline/display.c +++ b/lib/readline/display.c @@ -1598,7 +1598,7 @@ puts_face (const char *str, const char *face, int n) char cur_face; for (cur_face = FACE_NORMAL, i = 0; i < n; i++) - putc_face (str[i], face[i], &cur_face); + putc_face ((unsigned char) str[i], face[i], &cur_face); putc_face (EOF, FACE_NORMAL, &cur_face); } |