From: Chet Ramey Date: Wed, 5 Jan 2022 16:09:58 +0000 (-0500) Subject: Readline-8.1 patch 2: fix redisplay of some characters > 128 in certain single-byte... X-Git-Tag: readline-8.2-alpha~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5263c0d88064fda96292335d12eec1733f91cdc9;p=thirdparty%2Freadline.git Readline-8.1 patch 2: fix redisplay of some characters > 128 in certain single-byte encodings --- 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