HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b0ee5
)
(calculate_costs): Call x_screen_planes.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 22 Oct 1994 05:39:42 +0000
(
05:39
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 22 Oct 1994 05:39:42 +0000
(
05:39
+0000)
src/term.c
patch
|
blob
|
blame
|
history
diff --git
a/src/term.c
b/src/term.c
index
7d9ba35
..
9f786d5
100644
(file)
--- 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