diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-15 01:46:21 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-01-15 01:46:21 +0800 |
commit | eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19 (patch) | |
tree | 151c05bd1b2efbed2f4193406066c09d681720b8 /mbbsd | |
parent | 1e7168f2c8bcd0606af2e2232ecccdd1652df828 (diff) | |
download | pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar.gz pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar.bz2 pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar.lz pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar.xz pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.tar.zst pttbbs-eee7c9d7dc3f011a263d847ad43e68b6ba9ecf19.zip |
remove annoying bell().
suggested by ledia.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/read.c | 8 |
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); |