1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS were confused. Fixed.

This commit is contained in:
Richard M. Stallman 1994-12-04 18:58:04 +00:00
parent 441f6399d8
commit 00eb4c4abc

View file

@ -477,8 +477,8 @@ scroll_cost (frame, from, to, amount)
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