From: Denys Vlasenko Date: Mon, 15 Aug 2011 23:53:12 +0000 (+0200) Subject: less: fix for screen size detection X-Git-Tag: 1_20_0~272 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f54168ea21216f1ca322d343a26ee3e568444d9;p=oweals%2Fbusybox.git less: fix for screen size detection Signed-off-by: Denys Vlasenko --- diff --git a/miscutils/less.c b/miscutils/less.c index 9543fb9f9..2c6a79326 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -990,7 +990,8 @@ static int64_t less_getch(int pos) */ if (key >= 0 && key < ' ' && key != 0x0d && key != 8) goto again; - return key; + + return key64; } static char* less_gets(int sz)