diff options
Diffstat (limited to 'lib/charset.c')
-rw-r--r-- | lib/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/charset.c b/lib/charset.c index a28034ee1f1..5686d6fb59c 100644 --- a/lib/charset.c +++ b/lib/charset.c @@ -104,7 +104,7 @@ static u8 read_console(void *data) { int ch; - ch = getc(); + ch = getchar(); if (ch < 0) ch = 0; return ch; |