aboutsummaryrefslogtreecommitdiff
path: root/forwback.c
diff options
context:
space:
mode:
Diffstat (limited to 'forwback.c')
-rw-r--r--forwback.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/forwback.c b/forwback.c
index 1e0397c9a765..720054c0ebf3 100644
--- a/forwback.c
+++ b/forwback.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2019 Mark Nudelman
+ * Copyright (C) 1984-2020 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -20,7 +20,6 @@ public int screen_trashed;
public int squished;
public int no_back_scroll = 0;
public int forw_prompt;
-public int same_pos_bell = 1;
extern int sigs;
extern int top_scroll;
@@ -285,7 +284,7 @@ forw(n, pos, force, only_last, nblank)
forw_prompt = 1;
}
- if (nlines == 0 && !ignore_eoi && same_pos_bell)
+ if (nlines == 0 && !ignore_eoi)
eof_bell();
else if (do_repaint)
repaint();
@@ -345,7 +344,7 @@ back(n, pos, force, only_last)
}
}
- if (nlines == 0 && same_pos_bell)
+ if (nlines == 0)
eof_bell();
else if (do_repaint)
repaint();