From 9f18fd121b1e85b59891b27f35fceb85003166e6 Mon Sep 17 00:00:00 2001 From: Thomas Bonfort Date: Mon, 18 Mar 2024 13:28:45 +0100 Subject: [PATCH] GTIFF: fix ambiguous wording in eror message relatet to 64bit data and predictor=2 (#9496) --- frmts/gtiff/gtiffdataset_write.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frmts/gtiff/gtiffdataset_write.cpp b/frmts/gtiff/gtiffdataset_write.cpp index 5e0e177ec7ff..22287cd05633 100644 --- a/frmts/gtiff/gtiffdataset_write.cpp +++ b/frmts/gtiff/gtiffdataset_write.cpp @@ -5130,10 +5130,9 @@ TIFF *GTiffDataset::CreateLL(const char *pszFilename, int nXSize, int nYSize, #if !defined(HAVE_PREDICTOR_2_FOR_64BIT) if (l_nBitsPerSample == 64) { - ReportError( - pszFilename, CE_Failure, CPLE_AppDefined, - "PREDICTOR=2 is only supported with 64 bit samples " - "starting with libtiff > 4.3.0."); + ReportError(pszFilename, CE_Failure, CPLE_AppDefined, + "PREDICTOR=2 is supported on 64 bit samples " + "starting with libtiff > 4.3.0."); } else #endif