@@ -744,9 +744,9 @@ void commit_params(dt_iop_module_t *self,
744744
745745 gboolean effective_late_correction = FALSE;
746746
747- if (p -> preset == DT_IOP_TEMP_D65_LATE )
747+ if (p -> preset == DT_IOP_TEMP_D65_LATE )
748748 effective_late_correction = TRUE;
749- else if (p -> preset == DT_IOP_TEMP_D65 )
749+ else if (p -> preset == DT_IOP_TEMP_D65 )
750750 effective_late_correction = FALSE;
751751 else
752752 effective_late_correction = p -> late_correction ;
@@ -1206,19 +1206,19 @@ static void _update_preset(dt_iop_module_t *self, int mode)
12061206 const gboolean is_new_mode_manual = (mode != DT_IOP_TEMP_D65_LATE ) &&
12071207 (mode != DT_IOP_TEMP_D65 );
12081208
1209- if (is_current_reference && is_new_mode_manual )
1209+ if (is_current_reference && is_new_mode_manual )
12101210 {
12111211 // set iff color calibration active in adaptation mode
12121212 p -> late_correction = (chr -> adaptation != NULL );
12131213 }
12141214
12151215 p -> preset = mode ;
12161216
1217- if (mode == DT_IOP_TEMP_D65_LATE )
1217+ if (mode == DT_IOP_TEMP_D65_LATE )
12181218 {
12191219 chr -> late_correction = TRUE;
12201220 }
1221- else if (mode == DT_IOP_TEMP_D65 )
1221+ else if (mode == DT_IOP_TEMP_D65 )
12221222 {
12231223 chr -> late_correction = FALSE;
12241224 }
@@ -1228,7 +1228,7 @@ static void _update_preset(dt_iop_module_t *self, int mode)
12281228 chr -> late_correction = p -> late_correction ;
12291229 }
12301230
1231- if (g && g -> check_late_correction )
1231+ if (g && g -> check_late_correction )
12321232 {
12331233 // show the checkbox only in modes where user can adjust multipliers
12341234 gtk_widget_set_visible (g -> check_late_correction , is_new_mode_manual );
0 commit comments