summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 1be5d35..3db7c9c 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -883,13 +883,13 @@ static void number_process(int first_digit)
break;
case 'g': case '<': case 'G': case '>':
cur_fline = num + max_displayed_line;
- read_lines();
+ read_lines();
buffer_line(num - 1);
break;
case 'p': case '%':
num = num * (max_fline / 100); /* + max_fline / 2; */
cur_fline = num + max_displayed_line;
- read_lines();
+ read_lines();
buffer_line(num);
break;
#if ENABLE_FEATURE_LESS_REGEXP