7f17964622
that). Spotted by Ian Zagorskih.
13 lines
581 B
Text
13 lines
581 B
Text
$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;
|
|
|