summaryrefslogtreecommitdiff
blob: 0fb5fc3876ef6c9f03512a457f31193e0962180f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libtiff/tif_write.c
+++ libtiff/tif_write.c
@@ -523,7 +523,7 @@ TIFFWriteCheck(TIFF* tif, int tiles, con
 		 * because this field is used in other parts of library even
 		 * in the single band case.
 		 */
-		tif->tif_dir.td_planarconfig == PLANARCONFIG_CONTIG;
+		tif->tif_dir.td_planarconfig = PLANARCONFIG_CONTIG;
 	} else {
 		if (!TIFFFieldSet(tif, FIELD_PLANARCONFIG)) {
 			TIFFError(module,