changeset 9658:4e0d87055e0c

(calculate_costs): Call x_screen_planes.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 Oct 1994 05:39:42 +0000
parents 0fc126c193e7
children 460e14e9cbc4
files src/term.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Sat Oct 22 04:46:14 1994 +0000
+++ b/src/term.c	Sat Oct 22 05:39:42 1994 +0000
@@ -1070,10 +1070,6 @@
     *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 @@
   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