Batch of correction to lower the number of GCC warnings

This commit is contained in:
Hombre
2010-08-29 02:25:59 +02:00
parent 6da0cf6792
commit 02dac0425d
40 changed files with 936 additions and 923 deletions

View File

@@ -341,7 +341,7 @@ void ToneCurve::setBatchMode (bool batchMode) {
void ToneCurve::setAdjusterBehavior (bool expadd, bool bradd, bool blackadd, bool contradd) {
if (!expAdd && expadd || expAdd && !expadd)
if ((!expAdd && expadd) || (expAdd && !expadd))
expcomp->setLimits (-5, 5, 0.01, 0);
if (!blackAdd && blackadd)
black->setLimits (0, 16384, 1, 0);