We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ddb59 commit 0e5dfcbCopy full SHA for 0e5dfcb
src/iop/temperature.c
@@ -519,7 +519,7 @@ void reload_defaults(dt_iop_module_t *module)
519
for(int i = 0; i < wb_preset_count; i++)
520
{
521
if(!strcmp(wb_preset[i].make, makermodel) && !strcmp(wb_preset[i].model, model)
522
- && !strncasecmp(wb_preset[i].name, "daylight", 8))
+ && !strcasecmp(wb_preset[i].name, Daylight) && wb_preset[i].tuning == 0)
523
524
for(int k = 0; k < 3; k++) g->daylight_wb[k] = wb_preset[i].channel[k];
525
break;
0 commit comments