blob: c31cf4bede60fa089891b2f5f3d2bd8620a58b3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-cu,v 1.4 2004/10/14 11:10:00 markd Exp $
--- kioslave/audiocd/audiocd.cpp.orig 2004-08-05 19:25:33.000000000 +0000
+++ kioslave/audiocd/audiocd.cpp 2004-10-10 19:38:46.000000000 +0000
@@ -1092,7 +1092,7 @@
* 2) Only increase in size unless the decrease is %5 of last estimate.
* This prevents continues small changes which is just annoying.
*/
- unsigned long end = lastSector - firstSector;
+ unsigned long end = lastSector - firstSector + 1;
unsigned long cur = currentSector - firstSector;
unsigned long estSize = (processed / cur ) * end;
|