1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00

(calculate_ins_del_char_costs): Use proper frame's width.

This commit is contained in:
Richard M. Stallman 1996-04-10 18:34:37 +00:00
parent 25c26e7471
commit db71d41440

View file

@ -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 */