Skip to content

Commit

Permalink
Merge pull request #4962 from blowekamp/fix_tiff_globalerror
Browse files Browse the repository at this point in the history
COMP: There is no GlobalErrorDisplay only warning
  • Loading branch information
blowekamp authored Nov 19, 2024
2 parents fe43c76 + 6050cbc commit 7fe501d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ itkTIFFErrorHandlerExtR([[maybe_unused]] TIFF * tif,
va_list ap)
{
TIFFReaderInternal * self = reinterpret_cast<TIFFReaderInternal *>(user_data);
if (::itk::Object::GetGlobalErrorDisplay() && !self->m_ErrorSilence)
if (::itk::Object::GetGlobalWarningDisplay() && !self->m_ErrorSilence)
{
char out[256];
vsnprintf(out, 256, fmt, ap);
Expand Down

0 comments on commit 7fe501d

Please sign in to comment.