@@ -399,9 +399,9 @@ int store(dt_imageio_module_storage_t *self,
399399
400400 // export image to file. need this to be able to access meaningful
401401 // fdata->width and height below.
402- if (! dt_imageio_export (imgid , filename , format , fdata , high_quality ,
402+ if (dt_imageio_export (imgid , filename , format , fdata , high_quality ,
403403 upscale , TRUE, export_masks , icc_type ,
404- icc_filename , icc_intent , self , sdata , num , total , metadata ))
404+ icc_filename , icc_intent , self , sdata , num , total , metadata ) != 0 )
405405 {
406406 dt_print (DT_DEBUG_ALWAYS ,
407407 "[imageio_storage_gallery] could not export to file: `%s'!\n" , filename );
@@ -440,9 +440,9 @@ int store(dt_imageio_module_storage_t *self,
440440 if (c <= filename || * c == '/' ) c = filename + strlen (filename );
441441 ext = format -> extension (fdata );
442442 sprintf (c , "-thumb.%s" , ext );
443- if (! dt_imageio_export (imgid , filename , format , fdata , FALSE, TRUE, FALSE,
443+ if (dt_imageio_export (imgid , filename , format , fdata , FALSE, TRUE, FALSE,
444444 export_masks , icc_type , icc_filename ,
445- icc_intent , self , sdata , num , total , NULL ))
445+ icc_intent , self , sdata , num , total , NULL ) != 0 )
446446 {
447447 dt_print (DT_DEBUG_ALWAYS ,
448448 "[imageio_storage_gallery] could not export to file: `%s'!\n" , filename );
0 commit comments