summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-22 05:39:42 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-22 05:39:42 +0000
commita1ba807a424464fbb7a9ee61adb4cc1a43681ae0 (patch)
tree090726a5f65897766afb4b6b6a2097f031d44d4a /src/term.c
parent5fbbc223a5a799949c050bb8a2c809a34744502e (diff)
downloademacs-a1ba807a424464fbb7a9ee61adb4cc1a43681ae0.tar.gz
(calculate_costs): Call x_screen_planes.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c
index 7d9ba353340..9f786d5dd35 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1070,10 +1070,6 @@ calculate_ins_del_char_costs (frame)
*p++ = (ins_startup_cost += ins_cost_per_char);
}
-#ifdef HAVE_X_WINDOWS
-extern int x_screen_planes;
-#endif
-
extern do_line_insertion_deletion_costs ();
calculate_costs (frame)
@@ -1090,7 +1086,8 @@ calculate_costs (frame)
if (FRAME_X_P (frame))
{
do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*",
- 0, 0, x_screen_planes);
+ 0, 0,
+ x_screen_planes (frame));
return;
}
#endif