diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-12-04 18:58:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-12-04 18:58:04 +0000 |
commit | ed16f9e70d296016b19ac8aa24afcb534b70ccdb (patch) | |
tree | 9f0268653e9453f432e7a103744ef85c72f2360c /src/scroll.c | |
parent | e6d134dcabcbb47a2878a4c3f51ed1c24ae95dec (diff) | |
download | emacs-ed16f9e70d296016b19ac8aa24afcb534b70ccdb.tar.gz |
(scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS were confused. Fixed.
Diffstat (limited to 'src/scroll.c')
-rw-r--r-- | src/scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scroll.c b/src/scroll.c index d4e1a33db1c..639f0f12628 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -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 |