Second batch of correction to lower the number of GCC warnings

This commit is contained in:
Hombre
2010-08-30 01:07:43 +02:00
parent 02dac0425d
commit 76285ea74d
20 changed files with 288 additions and 282 deletions

View File

@@ -85,7 +85,7 @@ void CACorrection::adjusterChanged (Adjuster* a, double newval) {
void CACorrection::setAdjusterBehavior (bool badd) {
if (!vAdd && badd || vAdd && !badd) {
if ((!vAdd && badd) || (vAdd && !badd)) {
red->setLimits (-0.005, 0.005, 0.0001, 0);
blue->setLimits (-0.005, 0.005, 0.0001, 0);
}