diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 03:53:12 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 03:53:12 +0400 |
commit | 4f54168ea21216f1ca322d343a26ee3e568444d9 (patch) | |
tree | 586104490f9111340b984e09e6752b30e59a6c22 /miscutils | |
parent | c21c310e4646579d34bb9db25745b1121dc364d5 (diff) |
less: fix for screen size detection
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-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) */ if (key >= 0 && key < ' ' && key != 0x0d && key != 8) goto again; - return key; + + return key64; } static char* less_gets(int sz) |