diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 01:53:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 01:53:12 +0200 |
commit | 4f54168ea21216f1ca322d343a26ee3e568444d9 (patch) | |
tree | 586104490f9111340b984e09e6752b30e59a6c22 | |
parent | c21c310e4646579d34bb9db25745b1121dc364d5 (diff) | |
download | busybox-w32-4f54168ea21216f1ca322d343a26ee3e568444d9.tar.gz busybox-w32-4f54168ea21216f1ca322d343a26ee3e568444d9.tar.bz2 busybox-w32-4f54168ea21216f1ca322d343a26ee3e568444d9.zip |
less: fix for screen size detection
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/less.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
990 | */ | 990 | */ |
991 | if (key >= 0 && key < ' ' && key != 0x0d && key != 8) | 991 | if (key >= 0 && key < ' ' && key != 0x0d && key != 8) |
992 | goto again; | 992 | goto again; |
993 | return key; | 993 | |
994 | return key64; | ||
994 | } | 995 | } |
995 | 996 | ||
996 | static char* less_gets(int sz) | 997 | static char* less_gets(int sz) |