aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c
index 241875de52f..d76562bb4db 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1,6 +1,6 @@
1/* Terminal control module for terminals described by TERMCAP 1/* Terminal control module for terminals described by TERMCAP
2 Copyright (C) 1985-1987, 1993-1995, 1998, 2000-2012 2 Copyright (C) 1985-1987, 1993-1995, 1998, 2000-2013 Free Software
3 Free Software Foundation, Inc. 3 Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -953,8 +953,8 @@ tty_ins_del_lines (struct frame *f, int vpos, int n)
953 const char *single = n > 0 ? tty->TS_ins_line : tty->TS_del_line; 953 const char *single = n > 0 ? tty->TS_ins_line : tty->TS_del_line;
954 const char *scroll = n > 0 ? tty->TS_rev_scroll : tty->TS_fwd_scroll; 954 const char *scroll = n > 0 ? tty->TS_rev_scroll : tty->TS_fwd_scroll;
955 955
956 register int i = n > 0 ? n : -n; 956 int i = eabs (n);
957 register char *buf; 957 char *buf;
958 958
959 /* If the lines below the insertion are being pushed 959 /* If the lines below the insertion are being pushed
960 into the end of the window, this is the same as clearing; 960 into the end of the window, this is the same as clearing;