diff options
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) | |||
| 477 | return | 477 | return |
| 478 | (FRAME_INSERT_COST (frame)[offset + from] | 478 | (FRAME_INSERT_COST (frame)[offset + from] |
| 479 | + (amount - 1) * FRAME_INSERTN_COST (frame)[offset + from] | 479 | + (amount - 1) * FRAME_INSERTN_COST (frame)[offset + from] |
| 480 | + FRAME_DELETEN_COST (frame)[offset + to] | 480 | + FRAME_DELETE_COST (frame)[offset + to] |
| 481 | + (amount - 1) * FRAME_DELETE_COST (frame)[offset + to]); | 481 | + (amount - 1) * FRAME_DELETEN_COST (frame)[offset + to]); |
| 482 | } | 482 | } |
| 483 | 483 | ||
| 484 | /* Calculate the line insertion/deletion | 484 | /* Calculate the line insertion/deletion |