Skip to content

Commit

Permalink
COMP: There is no GlobalErrorDisplay only warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp committed Nov 19, 2024
1 parent 9dc3985 commit 6050cbc
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 6050cbc

Please sign in to comment.