summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-10 18:34:37 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-10 18:34:37 +0000
commite4065cde06c40e1f2e2ac5d37f0e7cf2e94bd633 (patch)
tree588fb89d6f5c2cf14b33af58da8c1660fef27c22
parent18fd31a7b3c5f2c11ad0d77fa6dcbcb853f816e5 (diff)
downloademacs-e4065cde06c40e1f2e2ac5d37f0e7cf2e94bd633.tar.gz
(calculate_ins_del_char_costs): Use proper frame's width.
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index ed34f85e78d..b81941aa585 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1092,7 +1092,7 @@ calculate_ins_del_char_costs (frame)
/* Delete costs are at negative offsets */
p = &char_ins_del_cost (frame)[0];
- for (i = FRAME_WIDTH (selected_frame); --i >= 0;)
+ for (i = FRAME_WIDTH (frame); --i >= 0;)
*--p = (del_startup_cost += del_cost_per_char);
/* Doing nothing is free */