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:
parent
441f6399d8
commit
00eb4c4abc
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue