changeset 10109:869e177ca872

(scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS were confused. Fixed.
author Richard M. Stallman <rms@gnu.org>
date Sun, 04 Dec 1994 18:58:04 +0000
parents 2844db63605f
children 18d52489f138
files src/scroll.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/scroll.c	Sun Dec 04 17:06:56 1994 +0000
+++ b/src/scroll.c	Sun Dec 04 18:58:04 1994 +0000
@@ -477,8 +477,8 @@
   return
     (FRAME_INSERT_COST (frame)[offset + from]
      + (amount - 1) * FRAME_INSERTN_COST (frame)[offset + from]
-     + FRAME_DELETEN_COST (frame)[offset + to]
-     + (amount - 1) * FRAME_DELETE_COST (frame)[offset + to]);
+     + FRAME_DELETE_COST (frame)[offset + to]
+     + (amount - 1) * FRAME_DELETEN_COST (frame)[offset + to]);
 }
 
 /* Calculate the line insertion/deletion