# HG changeset patch # User Richard M. Stallman # Date 782804382 0 # Node ID 4e0d87055e0c94ea29d4d8759b0113cf66fa36c8 # Parent 0fc126c193e7fa1e48e374e0baf631dc745cb48f (calculate_costs): Call x_screen_planes. diff -r 0fc126c193e7 -r 4e0d87055e0c src/term.c --- 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