summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index ebf632dd..17c39abc 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -244,14 +244,10 @@ cursor_pos(keeploc_t * locmem, int val, int from_top, int isshow)
cursor_show(3 , 0);
return DONOTHING;
}
- if (val > last_line){
- bell();
+ if (val > last_line)
val = last_line;
- }
- if (val <= 0){
- bell();
+ if (val <= 0)
val = 1;
- }
if (val >= top && val < top + p_lines) {
if(isshow){
cursor_clear(3 + locmem->crs_ln - top, 0);