Skip to content

Commit

Permalink
escape log message
Browse files Browse the repository at this point in the history
  • Loading branch information
dterrahe committed Jul 15, 2024
1 parent df34424 commit e83285c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageio/format/tiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ int write_image(dt_imageio_module_data_t *d_tmp, const char *filename, const voi
}

if(d->shortfile && layers == 3)
dt_control_log(_("not a B&W image, will not export as grayscale"));
dt_control_log("%s", _("not a B&W image, will not export as grayscale"));

TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, layers);
TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, (uint16_t)d->bpp);
Expand Down

0 comments on commit e83285c

Please sign in to comment.