From 6d3009b31e079498919a0678d48b6a911d1c4325 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 26 Mar 2011 12:46:29 +0100 Subject: Fix broken multibyte character readline Introduced by ce8503f859345990a14be90bf89dadf7f73d7613. Escaping from signedness hell again. --- src/ui_readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui_readline.c b/src/ui_readline.c index 8e6ecb4..c05cc8f 100644 --- a/src/ui_readline.c +++ b/src/ui_readline.c @@ -79,7 +79,7 @@ size_t BarReadline (char *buf, const size_t bufSize, const char *mask, * it, stdin will block */ while (1) { int curFd = -1; - char chr; + unsigned char chr; struct timeval timeoutstruct; /* select modifies set and timeout */ -- cgit v1.2.3