24 lines
841 B
Diff
24 lines
841 B
Diff
|
From: Kevin Kofler <kevin.kofler@chello.at>
|
||
|
Date: Sat, 17 Sep 2011 21:34:23 +0000
|
||
|
Subject: K3b::IsOverburnAllowed: Don't count used capacity twice.
|
||
|
X-Git-Url: http://quickgit.kde.org/?p=k3b.git&a=commitdiff&h=8270d2853f2962facdf6f9ea6d669922d6c78aba
|
||
|
---
|
||
|
K3b::IsOverburnAllowed: Don't count used capacity twice.
|
||
|
|
||
|
CCBUG: 276002
|
||
|
---
|
||
|
|
||
|
|
||
|
--- a/libk3b/core/k3bglobals.cpp
|
||
|
+++ b/libk3b/core/k3bglobals.cpp
|
||
|
@@ -595,7 +595,7 @@
|
||
|
bool K3b::IsOverburnAllowed( const Msf& projectSize, const Msf& capacity, const Msf& usedCapacity )
|
||
|
{
|
||
|
return( k3bcore->globalSettings()->overburn() &&
|
||
|
- (projectSize + usedCapacity) <= ( capacity.lba() - usedCapacity.lba() + capacity.lba() / 4 ) ); // 25% tolerance in overburn mode
|
||
|
+ (projectSize + usedCapacity) <= ( capacity.lba() + capacity.lba() / 4 ) ); // 25% tolerance in overburn mode
|
||
|
}
|
||
|
|
||
|
|
||
|
|