diff src/scroll.c @ 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 14cd96eda0e3
children 4face60ac721
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