changeset 14980:1659a0ea3c0c

(calculate_ins_del_char_costs): Use proper frame's width.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Apr 1996 18:34:37 +0000
parents fc1c21bc2e05
children 780fe9c87106
files src/term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Wed Apr 10 17:23:18 1996 +0000
+++ b/src/term.c	Wed Apr 10 18:34:37 1996 +0000
@@ -1092,7 +1092,7 @@
 
   /* 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 */