Cosmetic formatting of ADDSETVAL_ #4349

This commit is contained in:
Morgan Hardwood
2018-02-01 13:29:15 +01:00
parent db8024ed34
commit fe47db88cb

View File

@@ -1404,11 +1404,11 @@ void ParamsEdited::combine (rtengine::procparams::ProcParams& toEdit, const rten
toEdit.localContrast.enabled = mods.localContrast.enabled;
}
#define ADDSETVAL_(v, i) \
do { \
if ( v ) { \
toEdit. v = dontforceSet && options.baBehav[ i ] ? toEdit. v + mods. v : mods. v ; \
} \
#define ADDSETVAL_(v, i) \
do { \
if ( v ) { \
toEdit. v = dontforceSet && options.baBehav[ i ] ? toEdit. v + mods. v : mods. v ; \
} \
} while (false)
ADDSETVAL_(localContrast.radius, ADDSET_LOCALCONTRAST_RADIUS);