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:
parent
25c26e7471
commit
db71d41440
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue