aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-22 05:39:42 +0000
committerRichard M. Stallman1994-10-22 05:39:42 +0000
commit7dac35c8ad1115a13904c3f85e577a0e329a167c (patch)
tree62c840e582beea90bc898699da0f6a18d2924602 /src
parentb1b0ee5abc11eb3abe1d7f9ecb448e6c3481eb89 (diff)
downloademacs-7dac35c8ad1115a13904c3f85e577a0e329a167c.tar.gz
emacs-7dac35c8ad1115a13904c3f85e577a0e329a167c.zip
(calculate_costs): Call x_screen_planes.
Diffstat (limited to 'src')
-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)
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
1074extern int x_screen_planes;
1075#endif
1076
1077extern do_line_insertion_deletion_costs (); 1073extern do_line_insertion_deletion_costs ();
1078 1074
1079calculate_costs (frame) 1075calculate_costs (frame)
@@ -1090,7 +1086,8 @@ calculate_costs (frame)
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