From db71d41440c5739e6ae4e2a32cbdc0696b6083bc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 10 Apr 1996 18:34:37 +0000 Subject: [PATCH] (calculate_ins_del_char_costs): Use proper frame's width. --- src/term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.2