From 6050cbcfdd7eb144500aaab3d1f98cbb0b9c543f Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Tue, 19 Nov 2024 19:24:28 +0000 Subject: [PATCH] COMP: There is no GlobalErrorDisplay only warning --- Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx b/Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx index 2a4ab3c0084..87ddc1fbed7 100644 --- a/Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx +++ b/Modules/IO/TIFF/src/itkTIFFReaderInternal.cxx @@ -46,7 +46,7 @@ itkTIFFErrorHandlerExtR([[maybe_unused]] TIFF * tif, va_list ap) { TIFFReaderInternal * self = reinterpret_cast(user_data); - if (::itk::Object::GetGlobalErrorDisplay() && !self->m_ErrorSilence) + if (::itk::Object::GetGlobalWarningDisplay() && !self->m_ErrorSilence) { char out[256]; vsnprintf(out, 256, fmt, ap);