comparison src/term.c @ 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 f42e5fd15f6f
children 05d9072c5a38
comparison
equal deleted inserted replaced
9657:0fc126c193e7 9658:4e0d87055e0c
1068 /* Insert costs are at positive offsets */ 1068 /* Insert costs are at positive offsets */
1069 for (i = FRAME_WIDTH (frame); --i >= 0;) 1069 for (i = FRAME_WIDTH (frame); --i >= 0;)
1070 *p++ = (ins_startup_cost += ins_cost_per_char); 1070 *p++ = (ins_startup_cost += ins_cost_per_char);
1071 } 1071 }
1072 1072
1073 #ifdef HAVE_X_WINDOWS
1074 extern int x_screen_planes;
1075 #endif
1076
1077 extern do_line_insertion_deletion_costs (); 1073 extern do_line_insertion_deletion_costs ();
1078 1074
1079 calculate_costs (frame) 1075 calculate_costs (frame)
1080 FRAME_PTR frame; 1076 FRAME_PTR frame;
1081 { 1077 {
1088 1084
1089 #ifdef HAVE_X_WINDOWS 1085 #ifdef HAVE_X_WINDOWS
1090 if (FRAME_X_P (frame)) 1086 if (FRAME_X_P (frame))
1091 { 1087 {
1092 do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*", 1088 do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*",
1093 0, 0, x_screen_planes); 1089 0, 0,
1090 x_screen_planes (frame));
1094 return; 1091 return;
1095 } 1092 }
1096 #endif 1093 #endif
1097 1094
1098 /* These variables are only used for terminal stuff. They are allocated 1095 /* These variables are only used for terminal stuff. They are allocated