summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2022-01-05 11:09:58 -0500
committerChet Ramey <chet.ramey@case.edu>2022-01-05 11:09:58 -0500
commit5263c0d88064fda96292335d12eec1733f91cdc9 (patch)
tree809f747ee36e4b20908eb7bdd93d01dfe0648afe
parent9ba3434aa5434e509300a3722b0479fd30480b44 (diff)
downloadreadline-5263c0d88064fda96292335d12eec1733f91cdc9.tar.gz
Readline-8.1 patch 2: fix redisplay of some characters > 128 in certain single-byte encodings
-rw-r--r--display.c2
-rw-r--r--patchlevel2
2 files changed, 2 insertions, 2 deletions
diff --git a/display.c b/display.c
index 38b3d0e..f5d3294 100644
--- a/display.c
+++ b/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);
}
diff --git a/patchlevel b/patchlevel
index fdf4740..7cbda82 100644
--- a/patchlevel
+++ b/patchlevel
@@ -1,3 +1,3 @@
# Do not edit -- exists only for use by patch
-1
+2