@@ -722,7 +722,7 @@ CPLErr GDALECWCompressor::Initialize(
722722 if (gt.xrot != 0.0 || gt.yrot != 0.0 )
723723 CPLError (CE_Warning, CPLE_NotSupported,
724724 " Rotational coefficients ignored, georeferencing of\n "
725- " output ECW file will be incorrect.\n " );
725+ " output ECW file will be incorrect." );
726726 else
727727 {
728728 psClient->fOriginX = gt.xorig ;
@@ -1102,7 +1102,7 @@ static GDALDataset *ECWCreateCopy(const char *pszFilename, GDALDataset *poSrcDS,
11021102 {
11031103 CPLError (
11041104 CE_Failure, CPLE_NotSupported,
1105- " ECW driver does not support source dataset with zero band. \n " );
1105+ " ECW driver does not support source datasets with zero bands. " );
11061106 return nullptr ;
11071107 }
11081108
@@ -1163,7 +1163,7 @@ static GDALDataset *ECWCreateCopy(const char *pszFilename, GDALDataset *poSrcDS,
11631163 " ECW version 2 does not support UInt16 data type, "
11641164 " truncating to Byte."
11651165 " Consider specifying ECW_FORMAT_VERSION=3 for full "
1166- " UInt16 support available in ECW version 3. \n " );
1166+ " UInt16 support available in ECW version 3. " );
11671167 }
11681168 else
11691169#endif
@@ -1299,7 +1299,7 @@ GDALDataset *ECWCreateCopyECW(const char *pszFilename, GDALDataset *poSrcDS,
12991299 {
13001300 CPLError (
13011301 CE_Failure, CPLE_NotSupported,
1302- " ECW driver does not support source dataset with zero band. \n " );
1302+ " ECW driver does not support source datasets with zero bands. " );
13031303 return nullptr ;
13041304 }
13051305
@@ -1335,7 +1335,7 @@ GDALDataset *ECWCreateCopyECW(const char *pszFilename, GDALDataset *poSrcDS,
13351335 CPLError (CE_Failure, CPLE_NotSupported,
13361336 " ECW v2 does not support UInt16 data type. Consider "
13371337 " specifying ECW_FORMAT_VERSION=3 for full UInt16 support "
1338- " available in ECW v3. \n " );
1338+ " available in ECW v3. " );
13391339 }
13401340 else
13411341#endif
@@ -1369,7 +1369,7 @@ GDALDataset *ECWCreateCopyECW(const char *pszFilename, GDALDataset *poSrcDS,
13691369 " ECW driver ignores color table. "
13701370 " The source raster band will be considered as grey level.\n "
13711371 " Consider using color table expansion (-expand option in "
1372- " gdal_translate)\n " );
1372+ " gdal_translate)" );
13731373 if (bStrict)
13741374 return nullptr ;
13751375 }
@@ -1394,7 +1394,7 @@ GDALDataset *ECWCreateCopyJPEG2000(const char *pszFilename,
13941394 {
13951395 CPLError (
13961396 CE_Failure, CPLE_NotSupported,
1397- " JP2ECW driver does not support source dataset with zero band. \n " );
1397+ " JP2ECW driver does not support source datasets with zero bands. " );
13981398 return nullptr ;
13991399 }
14001400
@@ -1428,7 +1428,7 @@ GDALDataset *ECWCreateCopyJPEG2000(const char *pszFilename,
14281428 " JP2ECW driver ignores color table. "
14291429 " The source raster band will be considered as grey level.\n "
14301430 " Consider using color table expansion (-expand option in "
1431- " gdal_translate)\n " );
1431+ " gdal_translate)" );
14321432 if (bStrict)
14331433 return nullptr ;
14341434 }
0 commit comments