]> git.ipfire.org Git - thirdparty/readline.git/commitdiff
Readline-8.1 patch 2: fix redisplay of some characters > 128 in certain single-byte...
authorChet Ramey <chet.ramey@case.edu>
Wed, 5 Jan 2022 16:09:58 +0000 (11:09 -0500)
committerChet Ramey <chet.ramey@case.edu>
Wed, 5 Jan 2022 16:09:58 +0000 (11:09 -0500)
display.c
patchlevel

index 38b3d0e761369b3c7c71721c733af64805a72bb2..f5d32945c828184767e45e6b1bac18a38dea8134 100644 (file)
--- 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);
 }
 
index fdf474049fce8501d87e7b8fa7cf2b72cab0ad9b..7cbda82ded86fa174ee44dba637d5fa80815bfdc 100644 (file)
@@ -1,3 +1,3 @@
 # Do not edit -- exists only for use by patch
 
-1
+2